最后一次改名字
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>Document</title>
<style type="text/css">
*{
margin:0;
padding:0;
}
html,body{
height:100%;
}
.box{
padding:0 200px;
height:100%;
position:relative;
}
.left,.right,.mid{
height:100%;
}
.left,.right{
top:0;
width:200px;
}
.left{
position:absolute;
left:0;
background:#fcf;
}
.right{
position:absolute;
right:0;
background:#f40;
}
.mid{
width:100%;
background:blue;
}
</style>
</head>
<body>
<div class="box">
<div class="left"></div>
<div class="mid"></div>
<div class="right"></div>
</div>
</body>
</html>