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


No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URL

Leave a comment

Tags
Flickr
DSC_0207DSC_0206DSC_0205DSC_0197
© 2008 dlnqnt - Admin - Login