head部分宽高固定
left宽度固定,高度自适应
right宽高自适应
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title></title>
<link rel="stylesheet" type="text/css" href="css/reset.css"/>
<style type="text/css">
html,body.box{
height:100%;
}
.head{width:100%; height: 80px; background: deepskyblue;}
.main{
width:100%;
height: auto;
position: absolute;
top:80px;
bottom:0;
background: #eee;
}
.left{
width:200px;
height:100%;
background: #ff0;
float:left;
margin-right: 10px;
}
.right{
height:100%;
width:auto;
background: #333;
overflow: hidden;
}
</style>
</head>
<body>
<div class="box">
<div class="head"></div>
<div class="main">
<div class="left"></div>
<div class="right"></div>
</div>
</div>
</body>
</html>