URL: http://cyberbat.co.uk/test container margin: auto is not working, is there any other way to put it in the middle in IE.
EDIT: Check it again, the index.php was the
Use this on parent container for stupid browsers:
text-align: center
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
Your problem is define your file type and standards. if you add to this code to top of your file it will work!
This is a bug in IE!
You just need to create a holder for <div class="page">
and set its text-align
to center
.page-holder{
text-align:center;
}
.page{
margin:0 auto;
}
<div class="page-holder">
<div class="page">
page content
</div>
</div>