<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh-CN">
<head>
<title>ҳ�沼��</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="description" content="�������� http://www.itbool.com" />
<style>
#container{
width: 1002px;
background: gray;
}
#header{
height: 300px;
background: red;
}
#main{
height: 400px;
}
#left{
height: 400px;
width: 700px;
background: blue;
float: left;
}
#right{
height: 400px;
width: 302px;
background: green;
float: right;;
}
#footer{
height: 100px;
background: black;
}
</style>
</head>
<body>
<div id="container">
<div id="header"></div>
<div id="main">
<div id="left"></div>
<div id="right"></div>
</div>
<div id="footer"></div>
</div>
</body>
</html>
页面整体布局
最新推荐文章于 2022-04-23 17:33:43 发布