We would like to know how to create fix height two column layout with header.
<!DOCTYPE html>
<html>
<head>
<style type='text/css'>
#all {<!--from w w w . ja va2 s.co m-->
position: absolute;
top: 0px;
left: 0px;
background: #EEE;
margin: 0 auto;
padding-top: 40px;
width: 100%;
height: 1200px;
}
#leftMenu {
float: left;
background: #888;
height: 1000px;
width: 250px;
}
#content {
height: 1000px;
background: #AAA;
}
</style>
</head>
<body>
<div id="all">
<div id="leftMenu"></div>
<div id="content">some text</div>
</div>
</body>
</html>
The code above is rendered as follows: