OZONE Asylum
Forums
XML - XSL - XSLT - XHTML - CSS - DOM
Mozilla centered table annoyances
This page's ID:
10555
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
OK... i have a table... <table border="0" cellpadding="10" cellspacing="0" width="750" class="maintable"> ... </table> with this style sheet applied to it: TABLE.maintable { width:750px; margin:0px; } It is contained directly inside the body tags, which have this style: BODY { background:#036; text-align:center; } But the table is not centered on the page. One thing I tried was adding align="center" to the table tag. But this only worked if I removed class="maintable" at the same time. The only way I can find to do it is with <center></center>... is there another way? (How come the body's text-align:center; doesn't work, it works in IE...)
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »