OZONE Asylum
Forums
XML - XSL - XSLT - XHTML - CSS - DOM
absolute & relative positioning with children who stretch
This page's ID:
25657
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
I have a <div> that contains the entire page. It's positioned absolutely for centering reasons. Inside this, I need to include at least two more that stretch (in height) based on content. The first is a nav div on the left, and the second is the main content area. I put a relatively positioned div inside the main one so that I can absolutely position others based on it. But the main (parent) div doesn't grow as the children do, since it's absolute (although no height is specified). I hope this makes sense. So, I need to make the parent div stretch to accomodate the others. I've tried Googling a little, but I'm not sure I'm searching for the right thing. [img]http://boldtech.net/inprogress/antone_help.gif[/img] is a crude rendering of what I'm after. I was thinking of doing the usual Holy Grail type column layout, but I need the nav to position to the top of the main div, not under the header. Help! [url=http://www.justice4pat.com] [img]http://www.runningwolf.com/j4p_link.gif[/img] [/url]
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »