Jump to content

nested div


birbal

Recommended Posts

<div class='container'>   <div class='panel'>   some text goes here   </div>   <div class='content'>   some more text goes here   </div></div>

'panel' have fixed height. 'content' has minimum fixed height but can extend as far its goes. 'container' will expand as far it can go to accomodate the space for 'content'i had tried some but its overflowing the 'container' by 'content'. how can i do that?

Link to comment
Share on other sites

thanks for the help shadowmage. it is working now. it was position:absolute which was causing the trouble.thanks again

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...