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
Couple of things to think about there. First, you might want to change the class from TABLE.maintable to simply .maintable or #maintable (class & id respectively). Aside from that, we have lots of centering issues when dealing with browsers, for some reason or t'other. You'll note that I currently have a div that is centering at [url=http://th-inknet.com]http://th-inknet.com[/url] if you'd like to rip that source. One of the important factors there is setting your [i]margin : auto[/i] somewhere in the definition of your box. And, of course, you might run into another issue with using tables and positioning in CSS together; the box model. You've got your table defined with cellpadding of 0. IE renders padding inside of the model. w3C recommends the padding to be added to the proportions of the box--i.e., a box of 200px with a padding of 10px all round becomes a 220px box. But we knew that already. IE fudges up a couple of things, one of which is the allowing for leniancy in centering. Your last ditch effort is to use [i]<div align="center"></div>[/i] instead of the deprecated [i]<center></center>[/i]. Keeps your in touch with your urban roots... or some such nonsense. Follow? Or am I convoluted.
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »