/ Published in: CSS
Fixes and fallbacks for IE for my reset stylesheet. Actually two separate stylesheets: one for IE in general and one for IE6 specifically.
Expand |
Embed | Plain Text
-------------------------- 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*/ }
You need to login to post a comment.
