I have a div #parentthat hasmin-height:400px;
This div contains 2 child divs, the last of which I want to expand to the bottom of my parent, despite the amount of content inside it.
The height of the parent is fluid since the contents can be large or very small.
<div id="parent">
<div id="child1"> </div>
<div id="child2><!-- this div should stretch down to bottom of parent container--></div>
</div>
#parent{min-height:400px;}
Is this possible - I can't use js hacks
source
share