Thread: Centering a DIV
View Single Post
  #9 (permalink)  
Old Sep 11th, 2006, 14:23
moojoo's Avatar
moojoo moojoo is offline
Moderator
Join Date: Aug 2005
Location: Texas
Posts: 2,020
Blog Entries: 1
Thanks: 0
Thanked 33 Times in 33 Posts
Re: Centering a DIV

Actually you only have to set text-align:left on the container div. Everything in there will follow suit. You need to do that for IE 5.x anyway since IE 5 doesn't know margin: auto;
__________________
I hate IE 6. Just sayin....
Reply With Quote