Cześć.
Mam problem z niesforną IE7, źle interpretuje marginesy głównego kontenera div
.
* { margin: 0 auto; padding: 0 auto;}
html, body {
margin: 0 auto;
padding: 0 auto;
color: #000000;
}
html {
font-family: Monospace, Sans-sefir, Verdana;
word-wrap: break-word;
}
body {
width: 100%;
height: 100%;
background-color: #dfdfdf;
background-repeat: repeat-y;
font-size: 80.5%;
}
#content {
width: 980px;
min-height: 700px;
position: relative;
border: solid 1px;
}
#body_index {
width: 980;
min-height: 400px;
margin-top: 100px;;
}
Cały #content ucieka w lewy górny róg w IE7, pozostałe przeglądarki wyświetlają układ poprawnie.
. Johny , te porady co podałeś są do IE6, bo w 7 do wyśrodkowania kontenerów nie trzeba dawać ciału strony text-align:center.