CodeBetter.Com
CodeBetter.Com
RSS 2.0 via Feedburner
           Do you Twitter? Follow us @CodeBetter

Darrell Norton's Blog [MVP]

Fill in description here...

Viewing MSDN code samples in Firefox or Mozilla browsers

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;
}



Comments

Darrell said:

Glad you like!
# September 30, 2004 4:27 AM

Jason Row said:

Finally .. thank you so freakin' much for that tip Darrell. You're going to have to start a new category of blog postings just for FireFox tips.
# September 30, 2004 6:44 AM

Darrell said:

I just might do that.
# September 30, 2004 6:55 AM

Alain Tésio said:

Thanks, just to say it works with MSDN2 too
http://msdn2.microsoft.com/library/6fawty39.aspx
# September 30, 2004 7:36 AM

Darrell said:

Awesome! I had hoped that Microsoft would have fixed the CSS for MSDN2. They still have time to change their ways though!
# September 30, 2004 7:54 AM

ben said:

you are my hero, that was one of the last things i had to use ie for, this is awesome!!
# October 1, 2004 3:59 AM

Darrell said:

Enjoy!
# October 1, 2004 5:24 AM

JonGalloway.ToString() said:

# October 23, 2004 10:01 AM
Check out Devlicio.us!