|
MCD -> RE: IE Margin Problem (3/24/2009 10:33:13)
|
If I put commas between my ID'S site falls apart. Here is the stylesheet if anyone wants to take a look. /* Reset the rules.*/ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6 { margin: 0; padding: 0; border: 0; outline: 0; font-size: 100%; } body { background-color: #51004c; line-height: 125%; font-size: 100%; color: #000; font-family: Tahoma, Geneva, sans-serif; text-align: center; margin: 0 0 0 0; padding: 0 0 0 0; } h1 { color: #51004c; font-size: 120%; font-weight: bold; } h2 { color: #536747; font-size: 115%; font-weight: bold; } h3 { color: #536747; font-size: 105%; } a, a:link { color: #51004c; font-weight:bold; text-decoration: underline;} a:visited { color: #51004c; font-weight: bold; text-decoration: underline;} a:hover { color: #fff; font-weight: bold; text-decoration: none; background:#51004c;} a:active { color: #51004c; font-weight: bold; text-decoration: none;} #outerWrapper { background: #fff; width: 800px; text-align: left; margin: 0 auto 0 auto; } #contentWrapper { background: #fff url(../images/green_white1.jpg) repeat-y 50% 0; clear: both; } #outerWrapper #header { background-color: #ffffff; padding: 0px 0px 0px 0px; } #outerWrapper #topStrip { background-color: #ffffff; padding: 0px 0px 0px 0px; } /* The left and right columns are slightly smaller than the background image */ #outerWrapper #contentWrapper #leftColumn { background-color: #536747; float: left; width: 175px; color: #ffffff; padding: 0px 10px 5px 10px; margin: 0 0 4px 4px; clear: both; } #outerWrapper #contentWrapper #rightColumn { background-color: #536747; float: right; width: 175px; color: #ffffff; padding: 0px 10px 5px 10px; margin: 0 4px 4px 0; } #outerWrapper #contentWrapper #content { padding: 5px 5px 0px 5px; margin: 0 210px 4px 210px; } #outerWrapper #contentWrapper .clearFloat { display: block; } #outerWrapper #footer { background-color: #51004c; padding: 5px 5px 5px 5px; font-size: 80%; color: #fff; margin: 4px 0 0 0; }
|
|
|
|