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

Darrell Norton's Blog [MVP]

Fill in description here...

May 2006 - Posts

  • Make MSDN2 Render Better on Firefox

    Want to make MSDN2 look better in Firefox? Me too.

    The worst part about the documentation on, say, this page, is the fact that the names and descriptions of classes, interfaces, delegates, and enumerations are way too tiny to read.

    Here's the hack.  Add the following code to your userContent.css file (I highly recommend chromEdit for editing user files):

    @-moz-document url-prefix(http://msdn2.microsoft.com/) {
       /* Make MSDN2 a little more readable */
       div.ContentArea table th, div.ContentArea table td
       {
           font-size: 90% !important;
       }
    }


    That's it. Note that there is the chance that this will override some other web pages' styles, but oh well. They would need to have the exact same style names applied to tables inside divs.

    Thanks to Shawn's comment, the above code was modified to make it site-specific to MSDN2!

More Posts