<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>index</title>
<!--<link type="text/css" href="css/whole.css" rel="stylesheet"/>-->
</head>
<body>
<div id="header">
<h1>23333</h1>
</div>
<div id="nav">
1<br>
2<br>
3<br>
</div>
<div id="section">
<h1>index</h1>
<p>
hellow
</p>
<p>
word
</p>
</div>
<div id="footer">
footer
</div>
</body>
</html>
css
#header {
background-color:black;
color:white;
text-align:center;
padding:5px;
}
#nav {
line-height:30px;
background-color:#eeeeee;
height:300px;
width:100px;
float:left;
padding:5px;
}
#section {
width:350px;
float:left;
padding:10px;
overflow: auto;
}
#footer {
background-color:black;
color:white;
clear:both;
text-align:center;
padding:5px;
}