OZONE Asylum
Forums
XML - XSL - XSLT - XHTML - CSS - DOM
CSS table problem in NS7 & Opera 6
This page's ID:
10931
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
Nah, I just guess no one wanted to fire up Netscape 7. =) It looks like you could do that with a table. (Arguably, it's tabular data, so there's not much wrong with doing it that way.) That would simplify things. However, the reason it's not working is *probably* due to box model differences. I suspect that if you add a correct doctype to your page (see [url=http://www.alistapart.com/stories/doctype/]http://www.alistapart.com/stories/doctype/[/url] - your current one is almost correct but not quite), IE 6 will switch into the correct box model, and it will also stop working in that. Then, you can correct for it by remembering the fact that the width or height of a box is only the width or height for the *content* area of the box. The padding, margins, and borders are *added* on to that. So their sum should be what you want the "box-width" and "box-height" of the box to be. To make it work in earlier versions of IE (IE 5.5 for instance), which don't implement the DOCTYPE switch, you might need the Tantek Box Model Hack ( [url=http://www.tantek.com/CSS/Examples/boxmodelhack.html]http://www.tantek.com/CSS/Examples/boxmodelhack.html[/url] ).
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »