MSDN Code Listings in Firefox (via Darrell Norton)

Darrell Norton posted this snippet for Firefox on his blog and it works like a champ. MSDN pages that list code used to look like this in Firefox:

Oh yea... useful.

After adding the snippet below to userContent.css, it looks like this:

Ah, much better.

Here's the snippet to add to userContent.css. As Darrell mentions, using ChromeEdit is by far the best way to customize the Firefox customization files. Even finding them can be a trick at first...


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


Sweet tip... thanks, Darrell!