On my website, the main div appears floated left on some pages and right on others. In certain pages, it seems to be scattered all over in IE 7 and 8 - I didn't even bother checking in IE6. However, oddly enough, it displays perfectly in IE 6.
I need help with fixing this issue. The div code is shown below. Is there a way to ensure the div stays centered regardless of the browser being used? Are there any hacks available for this?
div.main {
margin:70px auto;
width:80%;
}