Essentially, my layout consists of the following HTML/CSS structure
HTML:
<div id="container">
<div id="main">
<h1>TEST</h1>
</div>
</div>
CSS:
#cont {
width: 100%;
background: #ddd;
}
#main {
width: 900px;
background: #fff;
margin-left: auto;
margin-right: auto;
}
While this setup functions correctly in Firefox, Safari, Chrome, and Opera, Internet Explorer 8 still positions the "main" div to the left.
Does anyone have any insight into what might be causing this problem? Thank you in advance.