Targeting IE 6, IE 7 and IE 8 Separately


/ Published in: CSS
Save to your folder(s)

[Updated](http://noscope.com/journal/2010/03/how-to-target-ie6-ie7-and-ie8-uniquely-with-4-characters)


Copy this code and paste it in your HTML
  1. body {
  2. color: red; /* all browsers, of course */
  3. color : green\9; /* IE8 and below */
  4. *color : yellow; /* IE7 and below */
  5. _color : orange; /* IE6 */
  6. }

URL: http://www.ejeliot.com/blog/63

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.