Thursday, September 02, 2004
I have been using the following hack to apply certain css rules to IE Win, but not IE Mac or any other browser:/* Hides from IE5-mac \*/
* html .box {top: 4px;}
/* End hide from IE5-mac */
(Holly Hack)
However after glancing through the Evolt CSS tricks article (via Nick Bradbury) I realised I could condense most of my hacks to just use '!important' instead as most of the time I didn't actually need to hide these rules from IE Mac.
.box {
top:2px !important;
top:4px;
}
Much better.
Jon 11:34 AM Permalink
