| Welcome to WebmasterWorld Guest from 184.108.40.206 |
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
|Become a Pro Member|
|Centering a table within a DIV|
I have a div that spans the width of a page and a small table within it, for some reason I am haivng trouble centering the table within this space.
What is the proper method to accomplish this? Intenet Explorer seems to react differently than other browsers..
Here's how I do it:
<table cellpadding="0" cellspacing="0" style="margin-left:auto;margin-right:auto;text-align:left">
<td>A Table Cell</td>
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