We would like to know how to create Two column layer.
<!DOCTYPE html>
<html>
<head>
<style type='text/css'>
.container {<!--from www . j a v a 2 s.c o m-->
overflow: hidden;
}
.aside {
float: left;
overflow-y: auto;
width: 100px;
max-height: 200px;
background: #ddd;
}
.main {
overflow: hidden;
padding-bottom: 99999px;
margin-bottom: -99999px;
background: #ccc;
}
</style>
</head>
<body>
<div class="container">
<div class="aside">
<p>Column A</p>
<p>Column A</p>
<p>Column A</p>
<p>Column A</p>
<p>Column A</p>
</div>
<div class="main">
<p>Column B</p>
</div>
</div>
</body>
</html>
The code above is rendered as follows: