<!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>
<style>
header,main,footer{
width:1000px;
margin:0 auto;
}
header{
height:150px;
background-color:silver;
}
main{
height:500px;
background-color:#bfa;
margin:10px auto;
}
nav{
float: left;
width:200px;
height:100%;
background-color:orange;
}
article{
margin:0 10px;
float: left;
width:580px;
height:100%;
background-color:yellow;
}
aside{
float:left;
width:200px;
height:100%;
background-color:pink;
}
footer{
height: 150px;
background-color:red;
}
</style>
</head>
<body>
<header></header>
<main>
<nav></nav>
<article></article>
<aside></aside>
</main>
<footer></footer>
</body>
</html>
03-13
1万+
10-29
1562