1/* -------------------------------------------------------------- 2 3 ie.css 4 5 Contains every hack for Internet Explorer, 6 so that our core files stay sweet and nimble. 7 8-------------------------------------------------------------- */ 9 10/* Make sure the layout is centered in IE5 */ 11body { text-align: center; } 12.container { text-align: left; } 13 14/* Fixes IE margin bugs */ 15* html .column, * html div.span-1, * html div.span-2, 16* html div.span-3, * html div.span-4, * html div.span-5, 17* html div.span-6, * html div.span-7, * html div.span-8, 18* html div.span-9, * html div.span-10, * html div.span-11, 19* html div.span-12, * html div.span-13, * html div.span-14, 20* html div.span-15, * html div.span-16, * html div.span-17, 21* html div.span-18, * html div.span-19, * html div.span-20, 22* html div.span-21, * html div.span-22, * html div.span-23, 23* html div.span-24 { overflow-x: hidden; } 24 25/* Elements 26-------------------------------------------------------------- */ 27 28/* Fixes incorrect styling of legend in IE6. */ 29* html legend { margin:-18px -8px 16px 0; padding:0; } 30 31/* Fixes incorrect placement of ol numbers in IE6/7. */ 32ol { margin-left:2em; } 33 34/* Fixes wrong line-height on sup/sub in IE. */ 35sup { vertical-align: text-top; } 36sub { vertical-align: text-bottom; } 37 38/* Fixes IE7 missing wrapping of code elements. */ 39html>body p code { *white-space: normal; } 40 41/* IE 6&7 has problems with setting proper <hr> margins. */ 42hr { margin: -8px auto 11px; } 43 44/* Clearing 45-------------------------------------------------------------- */ 46 47/* Makes clearfix actually work in IE */ 48.clearfix, .container {display: inline-block;} 49* html .clearfix, 50* html .container {height: 1%;} 51 52/* Forms 53-------------------------------------------------------------- */ 54 55/* Fixes padding on fieldset */ 56fieldset {padding-top: 0;} 57