Return to Snippet

Revision: 41285
at February 15, 2011 13:12 by scitrenbaumgmailcom


Initial Code
IE8 and Below

body {
 color: red; /* all browsers, of course */
 color : green\9; /* IE8 and below */
}

IE7 and Below

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 */
}

Initial URL
http://net.tutsplus.com/tutorials/html-css-techniques/quick-tip-how-to-target-ie6-ie7-and-ie8-uniquely-with-4-characters/

Initial Description

                                

Initial Title
How to Target IE6, IE7, and IE8

Initial Tags

                                

Initial Language
CSS