ahschmidt Posted May 25, 2011 Share Posted May 25, 2011 I would like to have a box (made with divs) that always rests at the bottom of another box, no matter the height of the parent box. I would like the child box to be able to get larger as needed to accommodate more content as well, but not overlap the bottom of the parent box. I am a bit mixed up on how to do this, any thoughts? Link to comment Share on other sites More sharing options...
Ingolme Posted May 25, 2011 Share Posted May 25, 2011 At the bottom inside or at the bottom outside the other box?To have it at the bottom inside, just put the code at the very end. To have it outside, put the code right after the previous box: <div class="box1"> Some content <div class="box2"> More content </div></div>OR<div class="box1"> Some content</div><div class="box2"> More content</div> Link to comment Share on other sites More sharing options...
ahschmidt Posted May 25, 2011 Author Share Posted May 25, 2011 Inside... <div class="box1"> Some content <div class="box2"> More content </div></div> Link to comment Share on other sites More sharing options...
ShadowMage Posted May 25, 2011 Share Posted May 25, 2011 Will the height of the parent depend on the content, or will the height always be the same (introducing possible whitespace between the content and the child)? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.