/ Published in: HTML

Now you can write IE specific styles in a regular stylesheet, by prefacing the CSS selectors with body.ie
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<!--[if IE ]> <body class="ie"> <![endif]--> <!--[if !IE]>--> <body> <!--<![endif]-->
URL: http://css-tricks.com/snippets/html/add-body-class-just-for-ie/
Comments
