I have this sample html
<html>
<head>
<style type="text/css">
.div-menu
{
width:300px;
margin-left:20px;
margin-right:20px;
float:left;
border:thin solid;
min-height:600px;
height:auto;
}
.div-content
{
float:left;
min-width:700px;
width:auto;
border:thin solid;
min-height:600px;
height:auto;
padding-right:20px;
}
</style>
</head>
<body>
<div style="margin-top:50px;padding:10px;">
<div class="div-menu">
</div>
<div class="div-content">
<div id='main' style="width:2000px;background-color:lightblue;height:600px">
Hello world
</div>
</div>
</div>
</body>
</html>
when the div main have actual width that larger than page width , the div-contain is break down to the bottom of div-menu , i want to make that div keep by side of div-menu , and the window horizontal scrollbar will appear ,
how can i achieve
Appreciate any suggest
thank