Table position
Hi,
How do I position / align a table to display in the centre of the page? Is it to do with the body tag?
I tried the using align in the body, and my headings and row data was also aligned in the middle of the cells.
Any advice appreciated. Thanks.
Probably a couple of ways. You could use align="center" in the table tag, or you could enclose the table in a div with margin-right and margin-left set to "auto"
Cheers
Graeme
Thanks.
But, I would like it so my (small) table is in the centre of the browser and not just the middle (top).
Hope to hear again...
you could have the table in a div which is then positioned using javascript?
since you already use tables you could might aswell add <center> tag.
but you should consider using divs for layout
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Rules
Bookmarks