1. Quick IE Hack

    Posted by Rob CornishPostMay 21, 2009Date

    Simple hack that works across all IE's!

    This little niffty css hack I came across was similar to the underscore IE hack I.E. _height:100px;

    Using two backslashes (//) instead of the underscore works across all IE's.
    IE ignores the two backslashes as where all other browsers see this as comments. Genius!!

    Example:
    body { //margin-top:10px; margin-top:5px; }



Tags
Flickr
SelfDSC_0207DSC_0206DSC_0205
© 2008 dlnqnt - Admin - Login