/ Published in: CSS

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
IE8 and Below The key to targeting Internet Explorer 8 and below, with a hack, is to append "\9� to the end of your style. For example: body { color: red; /* all browsers, of course */ color : green\9; /* IE8 and below */ } E7 and Below we can use the * symbol to target IE7 and below, like so: body { color: red; /* all browsers, of course */ color : green\9; /* IE8 and below */ *color : yellow; /* IE7 and below */ } IE6 body { color: red; /* all browsers, of course */ color : green\9; /* IE8 and below */ *color : yellow; /* IE7 and below */ _color : orange; /* IE6 */ }
Comments
