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
We could use this:
.left,.right,.maincontent,x:-ie7 {}
Actually, it is the colon that dos the magic.
For example:
selector,ie:7 {...}
or:
selector,:7 {...} /* even shorter to target ie7 :) */
--
Regards,
Thierry
www.tjkdesign.com | www.ez-css.org | @thierrykoblentz
On 9/18/10 7:56 PM, Thierry Koblentz wrote:
We could use this:
.left,.right,.maincontent,x:-ie7 {}
Actually, it is the colon that dos the magic.
For example:
selector,ie:7 {...}
or:
selector,:7 {...} /* even shorter to target ie7 :) */
--
Regards,
Thierry
Please see sig link IE
Please see sig link IE 6/7/8.
#main p,:7 {color: lime; }
Thanks David :)
--
Regards,
Thierry
www.tjkdesign.com | www.ez-css.org | @thierrykoblentz
__
css-discuss [cs...@lists.css-discuss.org]