Leosquarez – Website Design and Development

Website Design and Development

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

internet exploer

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% [?]

Posted by leosquarez On August - 12 - 2010 Condition EI6 Web Development

3 Responses to “How target CSS for IE6 IE7 and IE8”

  1. I was examining some of your articles on this site and I think this site is rattling informative ! Keep posting .

  2. Thanks for spending the time to discuss this, I feel strongly about it and love reading more on this topic.

  3. 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.

Leave a Reply

Subscribe here

VIDEO

TAG CLOUD