IE Only CSS Hack

I used to use the child element hack.
element > child {
non-IE properties;

Because Internet Explorer doesn’t support this.
But there is probably going to be an end to this.

I came across a hack that is IE-only (which it apparently from 2005, but not known to me).
element {
property: ;
_property: ; /* IE only hack */

Works perfectly! Only downside, the CSS doesn’t validate anymore :S

[Via: Noscope]

No Responses to “IE Only CSS Hack”.

Leave a response