To target in a css style just Internet Explorer 6 or 7 or 8 there are a few methods that you can use:
body {
color: red; /* all browsers, of course */
color : green\9; /* IE8 and below */
*color : yellow; /* IE7 and below */
_color : orange; /* IE6 */
}
Or simply if you need to target a specific style with out creating a new css file:
For IE7: *+html CSSproperty
For IE6: * html CSSproperty
Some good link:
- Get you OS and Browser and apply a different style
http://rafael.adm.br/css_browser_selector/ - How to Target IE6, IE7, and IE8 Uniquely with 4 Characters
http://net.tutsplus.com/tutorials/html-css-techniques/quick-tip-how-to-target-ie6-ie7-and-ie8-uniquely-with-4-characters/comment-page-1/#comments
Popularity: 1% [?]







I was examining some of your articles on this site and I think this site is rattling informative ! Keep posting .
Thanks for spending the time to discuss this, I feel strongly about it and love reading more on this topic.
A formidable share, I simply given this onto a colleague who was doing a little similar analysis on this. He actually bought me breakfast because I discovered it for him.. smile.