Topic: absolute & relative positioning with children who stretch |
|
---|---|
Author | Thread |
Paranoid (IV) Inmate From: 127.0.0.1 |
posted 05-02-2005 18:42
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. |
Paranoid (IV) Inmate From: Florida |
posted 05-03-2005 00:34
...and you want this to work in IE? If so, http://pmob.co.uk/ probably has what you want. |
Paranoid (IV) Inmate From: 127.0.0.1 |
posted 05-03-2005 17:51 |
Paranoid (IV) Inmate From: Florida |
posted 05-03-2005 18:02
The real trick is doing it without any hacks. |
Paranoid (IV) Inmate From: 127.0.0.1 |
posted 05-03-2005 21:26 |