Topic: absolute & relative positioning with children who stretch (Page 1 of 1) |
|
---|---|
Paranoid (IV) Inmate From: 127.0.0.1 |
![]() 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 |
![]() ...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 |
![]() |
Paranoid (IV) Inmate From: Florida |
![]() The real trick is doing it without any hacks. |
Paranoid (IV) Inmate From: 127.0.0.1 |
![]() |