<html>
<body>
<div class="container">
<div class="menu"></div>
<div class="list"></div>
</div>
</body>
</html>
.menu{
float:left;
width:50%;
}
.list{
float:right;
width:50%;
}
Is there a way to prevent scrolling on the entire HTML page while still allowing vertical scrolling within the menu and list divs independently?
For example, when scrolling in the left div (menu), the right div (list) should not scroll along with it.