I'm not sure if anyone is still reading this blog but if so, what would you consider to be the best way to use IE hacks in your stylesheets? IE allows the use of conditional statements like
-
-
<!--[if IE]>
-
<link rel="stylesheet" type="text/css" href="ie.css" />
-
<![endif]-->
-
This allows you to load an IE specific stylesheet. You can learn more here
Or incremental overrides, like so
-
-
div {...} /*style for all*/
-
* html div {...} /*style for IE*/
-
Or using hacks like this or any other type
-
-
div#container p {
-
margin:5px;
-
_margin:8px; // this will only be recognized by IE
-
}
-
The most frustrating thing about coding websites using stylesheets is trying to get the same look in the different browsers.