I have a div with two nested divs inside, (float: left) one is the menu bar, and on the right (float: right) should display the content containing the page, it works fine when the window is at maximum, but when I change it size, content is reset until it no longer has any space in which it will be displayed BELOW the left menu bar, how can I make the width fixed so that the user can scroll when resizing? (css width did not work, I alternated between floating right content, not), here is the code:
<div style="width:100%"> <div style="float:left; background:#f5f5f5; border-right:1px solid black; height:170%; width:120px;"></div> <div style="margin-right:2px;margin-top:15px; margin-bottom:5px; width:100%; border:1px solid #f5f5f5"></div> </div>
I need to work on Interner Explorer just now.
source share