---恢复内容开始---

这个东西说难也不难,但也要详细思虑一番:

<!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=gb2312" />
<title>制作首页布局ok啦。我好开心,着是自己做的第一个布局。我也是很棒的啊。谢谢!!</title>
<style type="text/css">
#container{
width:1200px;
height:1200px;
background:gray;
}
#hearder{width:1200px;
height:400px;
background:blue;
}
#main{width:1200px;
height:500px;
background:yellow;
}
#footer{width:1200px;
height:300px;
background:pink;
}
#lside{width: 900px;height:500px;background:green;
float:left; }
#rside{width:200px;height:500px;float:right;background:red;}
.four1,.four2,.four3,.four4{width:400px;height:200px;
background:black;float:left;margin:20px 10px; }
.four3{width:400px;height:200px;
background:black;float:left;clear:left;margin:20px 10px;
}
.four5{width:300px;height:200px;background:red;float:right;margin:0px;} </style>
</head> <body>
<div id="container">
<div id="hearder"></div>
<div id="main">
<div id="lside">
<div class="four1" ></div>
<div class="four2"></div>
<div class="four3"></div>
<div class="four4"></div>
</div>
<div id="rside"></div>
</div>
<div id="footer"></div>
</div> </body>
</html>

---恢复内容结束---

最新文章

  1. 【C#】VS2015开发环境的安装和配置(一)2016-08-03更新
  2. yii2中自定义验证规则rules
  3. Bootstrap弹出框(modal)垂直居中
  4. 【算法之美】你可能想不到的归并排序的神奇应用 — leetcode 327. Count of Range Sum
  5. 手把手教你在Windows下使用MinGW编译libav(参考libx264的编入)
  6. 解决eclipse-helios中Errors running builder JavaScript Validator的问题
  7. Codeforces Round #308 (Div. 2) D. Vanya and Triangles 水题
  8. Python脚本控制的WebDriver 常用操作 &lt;十三&gt; 处理button group层的定位
  9. Nuget 自动上传
  10. sqlite学习笔记5:插入数据,查询数据和删除数据
  11. Android SharedPreferences存图片,转码解码图片
  12. 将MPLS编译进linux内核中
  13. vue搭建开发环境
  14. thinkPHP5.0 URL路由优化
  15. IOT
  16. hex转mif文件 verilog
  17. JS校验身份证号的合法性
  18. 谷歌Chrome浏览器无法安装插件的解决方法
  19. WebApi的过滤器
  20. oracle导出expdp导入impdp

热门文章

  1. java获取服务器IP地址及MAC地址的方法
  2. C++中三种new的用法
  3. SQL SERVER 导出数据,数据与结构,结构
  4. XML中&amp; &lt;&gt; 单引号&#39; 双引号 &quot; 报错
  5. Linux学习笔记之——安装虚拟机后,如何启用网卡
  6. 【原】mysql慢日志分析
  7. 批量删除wps文档里的回车符的方法!WPS使用技巧分享!
  8. jquery ajax success 函数 异步调用方法中不能给全局变量赋值的原因及解决办法
  9. VirtualBox双网卡搭建Linux虚拟实验环境
  10. Rendering pipeline overview(读书笔记1 --- Real-Time rendering)