| Welcome to WebmasterWorld Guest from 188.8.131.52 |
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
|Become a Pro Member|
|Centering using text-align|
How do I center a single div block using text-align: center? I need it for IE5. I can't get it to work putting it on "body".
I've read it here many times.
What's on the page is a lone DIV width 500px.
(margin: 0 auto on the div works fine)
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved