/ Published in: CSS
Fixes and fallbacks for IE for [my reset stylesheet](http://snipplr.com/view/16353/ "DzR Full CSS Reset"). Actually two separate stylesheets: one for IE in general and one for IE6 specifically.
[Part I](http://snipplr.com/view/16353/ "DzR Master Stylesheet (Part I, Reset)")
[Part II](http://snipplr.com/view/16354/ "DzR Master Stylesheet (Part II, Classes)")
[Part I](http://snipplr.com/view/16353/ "DzR Master Stylesheet (Part I, Reset)")
[Part II](http://snipplr.com/view/16354/ "DzR Master Stylesheet (Part II, Classes)")
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
-------------------------- For IE in general -------------------------------- hr { height:5px; margin:0; } ol.lines { list-style-type:decimal; } legend { padding-left:0; padding-right:0; } ------------------------------ For IE 6 ------------------------------------- dl { margin-top:0.5em; } select { vertical-align:text-top; } ul.inline li, ol.inline li { display:inline; } /*selector element `>` and pseudo-class :first-child aren't supported, so we'll have to use the `tree` class on everything*/ ol.tree li div.tree { text-indent:0; padding-left:0.4ex; /*= D*/ } ol.tree li div.tree span.tree { display:block; height:0; overflow:hidden; border-bottom:1px solid #BBB; width:1.55ex; /*= A*/ margin-left:-1.95ex; /*= -(A + D)*/ margin-bottom:-0.825em; /*= C + (line-height)/2*/ }