div——02

<!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>DIV-01</title>
<style type="text/css">
*{
 margin:0;
 padding:0;}

.main{
 margin:0 auto;
 width:805px;
 height:805px;
 background-color:#C93;
 padding:5px;
 }
.nav{
 
 width:800px;
 height:80px;
 background-color:#0CC;
 
 
 }
.firstcol{
 
 width:800px;
 height:150px;
 background-color:#930;
 }
.secondcol{
 
 width:800px;
 height:340px;
 background-color:#363;
 }
.thirdcol{
 
 width:800px;
 height:146px;
 background-color:#036;
 
 }
.footer{
 
 width:800px;
 height:80px;
 background-color:#C30;
 } 
.firstcol1{
 width:250px;
 height:140px;
 background-color:#F96;
 float:left;
 margin:2px;}
.firstcol2{
 width:250px;
 height:140px;
 background-color:#990;
 float:left;
 margin:2px;
 } 
.firstcol3{
 width:250px;
 height:140px;
 background-color:#9F6;
 margin:2px;
 float:left;}
.secondcol1{
 
 width:380px;
 height:320px;
 background-color:#033;
 float:left;
 margin:10px;}
.secondcol2{
 
 width:380px;
 height:320px;
 background-color:#03F;
 float:left;
 margin:10px;}
.thirdcol1{
 width:130px;
 height:130px;
 background-color:#0F9;
 margin:4px;
 float:left;}
.thirdcol2{
 width:130px;
 height:130px;
 background-color:#0F9;
 float:left;
 margin:2px;}
.thirdcol3{
 width:130px;
 height:130px;
 background-color:#0F9;
 margin:2px;
 float:left;}
.thirdcol4{
 width:130px;
 height:130px;
 background-color:#0F9;
 margin:4px;
 float:left;}
.thirdcol5{
 width:130px;
 height:130px;
 background-color:#0F9;
 margin:4px;
 float:left;}
.thirdcol6{
 width:110px;
 height:130px;
 background-color:#0F9;
 margin:4px;
 float:right;}     
.footer{
 clear:both;} 
</style>

</head>

<body bgcolor="#999999">
 <div class="main">
     <div class="nav"></div>
     <div class="firstcol">
       <div class="firstcol1"></div>
       <div class="firstcol2"></div>
       <div class="firstcol3"></div>
     </div>
     <div class="secondcol">
        <div class="secondcol1"></div>
        <div class="secondcol2"></div>
     </div>
     <div class="thirdcol">
        <div class="thirdcol1"></div>
        <div class="thirdcol2"></div>
        <div class="thirdcol3"></div>
        <div class="thirdcol4"></div>
        <div class="thirdcol5"></div>
        <div class="thirdcol6"></div>
     </div>
     <div class="footer">
      
     </div>
 </div>

</body>
</html>

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值