Got a page that centers just fine in Firefox, but sits on the left side of the page in IE. I used to know of a workaround, but for the life of me can't find it anymore.
Can someone help out?
This is what I've got controlling the content alignment:
Can someone help out?
This is what I've got controlling the content alignment:
Code:
body {
background-image: url(images/bg.jpg);
background-repeat: no-repeat;
background-position: center top;
margin:0;
padding:0;
font-family: Arial, Helvetica, sans-serif;
background-color: #000;
}
#wrapper {
margin-left:auto;
margin-right:auto;
width: 1000px;
background-color: #FFF;
z-index: 100;
}
.content {
margin-left:auto;
margin-right:auto;
width: 800px;
}