IE 8 CSS Hack
April 9th, 2009
In some cases, IE8 still can’t render CSS correctly. This is the magic trick to target only IE 8 .
.selector { property /*\**/: value\9 }
ex:
.myText { color /*\**/: #cc0000\9 }
In some cases, IE8 still can’t render CSS correctly. This is the magic trick to target only IE 8 .
.selector { property /*\**/: value\9 }
ex:
.myText { color /*\**/: #cc0000\9 }
Works for me tank you.
Thanks for your IE 8 CSS Hack.
There is a simple way to do it.
for example.
.myText { color:#CCCCCC; }
you only need to add “” after it.