• flickr
  • linkedin
  • twitter
  • rss
Centering DIVs with CSS in IE

Centering DIVs with CSS in IE

This will align your divs in the center for Internet Explorer if the old standard margin-left:auto etc. doesn’t do the do.

body
{
text-align:center;
margin:0px;
}
#center_box
{
padding-top:200px;
width:700px;
margin:0 auto;
text-align:left;
}
Tech Reference:

Larry's a 30-something chap interested in travel, being a dork and changing the world via less boring training.

Leave a reply