Hi css-d

I've struggled with the following problem for some time, and was  
recommened this list by a friend.

I'm trying to make an absolute-positioned nested element the same  
height as the surrounding relative-positioned element. But I can't  
get it to work in IE<7.

Besides describing the problem below, I've also created an online  
test-page, color-coded for your viewing pleasure:
http://tws.name/temp/css-testing/auto-height/

The HTML looks like this (div content removed for clarity):
<div id="outer">
   ...
   <b id="inner"></b>
</div>

The CSS boils down to:
#outer { position: relative }
#inner {
   height: 100%;
   position: absolute;
   top: 0;
   left: 0;
}

I hope you can help.

Regards
Thomas
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to