<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>无标题文档</title>
<style>
.main{
width: 1500px;
height: 920px;
background: #8C8C8C;
}
#div1{
background: orange;
width: 1500px;
height: 100px;
}
#div2{
background: yellow;
width: 1500px;
height: 50px;
}
#div3{
background: green;
width: 150px;
height: 700px;
float: left;
}
#div4{
background: red;
width: 1350px;
height: 700px;
float: right;
}
#div5{
padding-bottom:0;
background:#8F00FB
height: 70px;
width: 1500px;
}
</style>
</head>
<body>
<div class="main">
<div id="div1">这里是最顶</div>
<div id="div2">这里是导航</div>
<div id="div3">这里是左边</div>
<div id="div4">这里是滚动区</div>
<div id="div5">这里是底部区</div>
</div>
</body>
</html>
<html>
<head>
<meta charset="utf-8">
<title>无标题文档</title>
<style>
.main{
width: 1500px;
height: 920px;
background: #8C8C8C;
}
#div1{
background: orange;
width: 1500px;
height: 100px;
}
#div2{
background: yellow;
width: 1500px;
height: 50px;
}
#div3{
background: green;
width: 150px;
height: 700px;
float: left;
}
#div4{
background: red;
width: 1350px;
height: 700px;
float: right;
}
#div5{
padding-bottom:0;
background:#8F00FB
height: 70px;
width: 1500px;
}
</style>
</head>
<body>
<div class="main">
<div id="div1">这里是最顶</div>
<div id="div2">这里是导航</div>
<div id="div3">这里是左边</div>
<div id="div4">这里是滚动区</div>
<div id="div5">这里是底部区</div>
</div>
</body>
</html>