<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<style>
*{
margin:0px;
padding:0px;
}
#wrap{
width:1000px;
border:2px solid gray;
margin:0 auto;
}
#header{
width:980px;
border:1px solid gray;
margin:0 auto;
text-align: center;
height:90px;
line-height: 90px;
margin-bottom: 5px;
margin-top:5px;
}
#nav{
width:980px;
margin:0 auto;
border:1px solid gray;
text-align:center;
height:90px;
overflow: hidden;
margin-bottom: 5px;
text-align: center;
line-height: 45px;
}
#nav ul li{
float:left;
width:180px;
border:1px solid gray;
list-style: none;
height: 30px;
line-height: 30px;
text-align: center;
}
#content{
width:980px;
border:1px solid gray;
overflow: hidden;
height:270px;
margin:0 auto;
}
.main{
float:left;
width:630px;
border:1px solid gray;
height: 250px;
margin-right: 5px;
margin-top:5px;
text-align: center;
margin-left: 5px;
}
.ban{
width:330px;
height:250px;
border:1px solid gray;
float:left;
margin-top:5px;
text-align: center;
}
#footer{
width:980px;
height: 90px;
border:1px solid gray;
margin:0 auto;
text-align: center;
line-height: 90px;
margin-bottom: 5px;
margin-top:5px;
}
</style>
<body>
<div id ="wrap">
<div id = "header">
<h1>HEADER</h1>
</div>
<div id = "nav">
NAVIGATION
<ul>
<li>menu1</li>
<li>menu2</li>
<li>menu3</li>
<li>menu4</li>
<li>menu5</li>
</ul>
</div>
<div id="content">
<div class="main">CONTENT</div>
<div class="ban">BANNER</div>
</div>
<div id="footer">
<p>FOOTER</p>
</div>
</div>
</body>
</html>