<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<style type="text/css">
body{
margin:0px;
padding:0px;
font-size:20px;
font-family:"宋体";
}
a:link{
color:#FFF;
text-decoration:none;
}
a:hover{
background:#03F
}
/*************************************************************************/
#containter{
margin:0px auto;
border:1px solid blue;
width:960px;
height:auto;
}
#header{
border:1px solid blue;
width:958px;
height:150px;
}
#nav{
border:1px solid blue;
width:958px;
height:40px;
line-height:40;
text-align:center;
color:#FFF;
font-size:18px;
font-weight:bolder;
background-color:#F00;
}
#main{
border:1px solid red;
width:958px;
height:500px;
}
#left{
border:1px solid blue;
width:300px;
height:500px;
float:left;
}
#right{
border:1px solid blue;
width:654px;
height:500px;
float:left;
}
#footer{
border:1px solid blue;
width:958px;
height:150px;
}
#nav ul{
margin-top:0px;
}
#nav ul li{
height:40px;
line-height:40px;
padding:0px;
list-style:none;
float:left;
margin-right:50px;
}
#nav ul li a{
margin:0;
height:40px;
line-height:40px;
}
</style>
</head>
<body>
<div id="containter">
<div id="header">头部</div>
<!--导航栏开始-->
<div id="nav">
<ul>
<li><a href="#">首页</a></li>
<li><a href="#">新闻资讯</a></li>
<li><a href="#">产品列表</a></li>
<li><a href="#">联系我们</a></li>
<li><a href="#">产品列表</a></li>
</ul>
</div>
<!--导航栏结束-->
<div id="main" style="clear:both">
<div id="left">左侧部分</div>
<div id="right">右侧部分</div>
</div>
<div id="footer">页尾部分</div>
</div>
</body>
</html>