<!DOCTYPE html>
<html>
<head lang="en">
<meta charset="utf-8">
<style type="text/css">
body{
margin: 0px;
/* 任意一个距离都为0*/
}
div#container{
width: 100%;
height: 950px;
background-color: orange;
}
div#heading{
width: 100%;
height: 10%;
background-color: aqua;
}
div#content_menu{
width: 30%;
height: 80%;
background-color: yellow;
float: left;
}
div#content_body{
width: 70%;
height: 80%;
background-color: blue;
float: left;
}
div#footing{
width: 100%;
height: 10%;
background-color: black;
clear: both;
}
</style>
</head>
<body>
<div id="container">
<div id="heading">头部</div>
<div id="content_menu">内容菜单</div>
<div id="content_body">内容主体</div>
<div id="footing">底部</div>
</div>
</body>
</html>