Thursday, September 30, 2004 - Posts

Viewing MSDN code samples in Firefox or Mozilla browsers

UPDATE: This should no longer be required - apparently the MSDN CSS has been fixed to support Firefox.

The MSDN facelift (not MSDN2) hosed the formatting of code samples in Firefox and Mozilla browsers. To fix it, add this to your userContent.css file (chromEdit is the easiest way to modify this file):

/* Microsoft MSDN code stylesheet */
pre
{
 white-space: pre !important;
}

[Via WebLogs @ DotNetJunkies.com]
More Posts