...

View Full Version : Nested boxes and height



beetle
10-18-2002, 04:07 AM
How can I make a parent box object respect the height of it's child?

div#1 {
???
}

div#2 {
height: 100px;
}

<div id="1">
<div id="2">
Hello
</div>
</div>

Any clue? I'd like div#2 to be relatively positioned, too

BTW, I'm using XHTML transitional

beetle
10-18-2002, 04:19 AM
nevermind. some absolute positioning was screwing it all up.

I thought I was going iNsAnE !!

zoobie
10-18-2002, 08:35 AM
You can always edit/delete this...:D

beetle
10-18-2002, 09:27 AM
Originally posted by zoobie
You can always edit/delete this...:D Duh. I'd think after 830 posts you'd realize I know that already.... And why edit it? Maybe spectators can learn to not make the same mistake I did.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum