Hello, my website is working just fine in FF and Chrome… but in IE, as usual, centered content doesn’t work:
http://cudamine.com/icame/sitemundial/
css:
* {margin:0;padding:0;}
html, body {
height: 100%;
background-image:url(images/grass.jpg)
}
#wrap {
min-height: 100%;
}
#main {
overflow:auto;
padding-bottom: 50px;
} /* must be same height as the footer */
#footer {
position: relative;
margin-top: -50px; /* negative value of footer height */
height: 50px;
background:#000;
clear:both;
}
#footer-content {
width:1000px;
height:50px;
background-color:#fff;
margin-left:auto;
margin-right:auto;
}
/*Opera Fix*/
body:before {
content:"";
height:100%;
float:left;
width:0;
margin-top:-32767px;/
}
#header {
width:100%;
height:100px;
background-color:#000;
}
#header-content {
width:1000px;
height:100px;
background-color:#fff;
margin-left:auto;
margin-right:auto;
}
#flash {
margin-top:30px;
width:1000px;
height:150px;
background-color:#fff;
margin-left:auto;
margin-right:auto;
}
#mainwrapper {
margin-right:auto;
margin-left:auto;
width:1000px;
height:100%;
}
#content {
margin-top:30px;
width:700px;
height:850px;
background-color:#fff;
left:50%;
margin-bottom:30px;
}
#contentbox1 {
width:250px;
height:200px;
margin-left:750px;
background-color:#fff;
position:absolute;
}
#contentbox2 {
width:250px;
margin-top:230px;
height:200px;
margin-left:750px;
background-color:#fff;
position:absolute;
}
#contentbox3 {
width:250px;
margin-top:460px;
height:200px;
margin-left:750px;
background-color:#fff;
position:absolute;
}
#menu {
width:1000px;
top:70px;
position:absolute;
height:30px;
background-color:#00ffff;
margin-left:auto;
margin-right:auto;
}