{"id":132,"date":"2010-01-20T02:00:32","date_gmt":"2010-01-20T09:00:32","guid":{"rendered":"http:\/\/css-tricks.com\/how-to-create-an-ie-only-stylesheet\/"},"modified":"2015-02-13T12:38:50","modified_gmt":"2015-02-13T19:38:50","slug":"how-to-create-an-ie-only-stylesheet","status":"publish","type":"post","link":"https:\/\/css-tricks.com\/how-to-create-an-ie-only-stylesheet\/","title":{"rendered":"How To Create an IE-Only Stylesheet"},"content":{"rendered":"

ie-only-css.gif<\/p>\n

This article has been updated from an older version (originally Sept 24, 2007). I just wanted to expand it and make it more clear.<\/div>\n

If you read this blog, there is a 99% chance you’ve had a hair-pulling experience with IE. But if you are worth your salt as a CSS coder, you should be able to deal with it. I am of the opinion that you can handle anything IE can throw at you without the use of hacks. Hacks are dangerous, since they are based on non-standard exploits, you can’t predict how they are going to behave in future browsers. The tool of choice for fighting IE problems is the conditional stylesheet<\/strong>. IE provides comment tags, supported all the way up to the current IE 8 to target specific versions, as well as greater-than\/less-than stuff for targeting multiple versions at once.<\/p>\n

<\/p>\n

Why use conditional stylesheets?<\/h3>\n