OZONE Asylum
Forums
XML - XSL - XSLT - XHTML - CSS - DOM
3 Columns - An Alternative
This page's ID:
24435
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
See, the thing about the "traditional" 3-column is that the two flanking columns must have a set width (either in px, em, or %) and the center column takes up the remainder. I wanted the left column to be a set width, and the other two to split the remainder -- that is, be the same width. If I would have set the left column to 100px, and the right column to 50%, the center column would not have been the same size as the right column. It would have been 50%-100px. With a table layout, this would have been simple. Set the width of the first column to 100px, and the other two would have, by default, split the difference. Not so with divs. This is the/a css solution, and one I'm pretty happy with. Has anybody found a situation in which this does not work?
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »