Jump to content

A simple (I think) box question


ahschmidt

Recommended Posts

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

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...