Div box not expanding on overflow

Posted by Mirage on Stack Overflow See other posts from Stack Overflow or by Mirage
Published on 2010-05-19T04:54:38Z Indexed on 2010/05/19 5:00 UTC
Read the original article Hit count: 338

Filed under:
|
|

I have the following html (not proper code but for understanding)

<div id=content-wrap overflow-hidden>
<div1 float-left overflow hidden> </div>
<div2 float-right overflow hidden> </div>

</div>

Now when the content in div 1 is more, then it expands the main container but by div2 which is on the right is not expanding

Is there any way so that div2 also expands with div1 without changing the html

© Stack Overflow or respective owner

Related posts about div

Related posts about html