Return to Snippet

Revision: 17020
at August 20, 2009 23:04 by jessibird


Initial Code
<!--[if IE ]>
   <body class="ie">
<![endif]-->
<!--[if !IE]>-->
   <body>
<!--<![endif]-->

Initial URL
http://css-tricks.com/snippets/html/add-body-class-just-for-ie/

Initial Description
Now you can write IE specific styles in a regular stylesheet, by prefacing the CSS selectors with body.ie

Initial Title
Add body class just for IE

Initial Tags
ie

Initial Language
HTML