I think I found a new hack for IE7.

Instead of this:

*:first-child + html .left,
*:first-child + html .right,
*:first-child + html .maincontent {}

We could use this:

.left,.right,.maincontent,x:-ie7 {}

Because of "x:-ie7" other browsers should drop the entire rule. Note that
this is a "variation" of the Firefox hack, as IE7 does not ignore
"x:-moz-any-link".

It is shorter, but more importantly it does not add weight to the rule.

If you try this please let me know if it is reliable across the board :)

--
Regards,
Thierry
www.tjkdesign.com | www.ez-css.org | @thierrykoblentz


______________________________________________________________________
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to