html第一天div页面布局
来源:互联网 发布:js防水涂料是柔性的吗 编辑:程序博客网 时间:2024/04/30 17:07
<!DOCTYPE html><html><head><meta charset="utf-8"> <title></title><style> #body{ width:1002px; } #header{ width:1002px; height:100px; background:blue; } #main{ width:1002px; height:400px; background:red; } #lside{ width:700px; height:400px; background: yellow; float:left; } #rside{ width:302px; height:400px; background: pink; float:right; } #footer{ width:1002px; height:100px; background: grey; } #lside .l_part1{ width:280px; height:200px; background: purple; float:left; } #lside .l_part2{ width:280px; height:200px; background: green; float:right; } #lside .l_part3{ clear:left; width:280px; height:200px; background: orange; float:left; } #lside .l_part4{ width:280px; height:200px; background: red; float:right; } #rside .r_part1{ width:302px; height:190px; background:snow; float:left; } #rside .r_part2{ clear:left; width:302px; height:187px; background:brown; }</style></head><body><div id = "body"> <div id = "header">头部</div> <div id = "main"> <div id = "lside">主体 左 <div class = "l_part1">左上1</div> <div class = "l_part2">左上2</div> <div class = "l_part3">左下1</div> <div class = "l_part4">左下2</div> </div> <div id = "rside">主体 右 <div class = "r_part1">右上</div> <div class = "r_part2">右下</div> </div> </div> <div id = "footer">脚部</div></div></body></html>
1 0
- html第一天div页面布局
- html DIV+CSS 页面布局
- div+css 第一天
- Android 布局第一天
- HTML DIV标签布局
- HTML-DIV布局1
- HTML布局----div布局&&table
- div 页面布局
- DIV 页面布局
- CSS+DIV页面布局
- div+css页面布局
- div+css页面布局
- CSS/DIV页面布局----
- DIV+CSS 页面布局
- div+css页面布局
- HTML第一天笔记
- HTML学习第一天
- HTML:第一天
- jquery uploadify隐藏上传进度
- C++ typedef用法小结
- GDOI2016总结
- recycleview滑动到底部自动加载更多数据
- numeric_cast
- html第一天div页面布局
- 2dx-lua精灵添加触摸事件
- Javascript学习笔记(10)
- 批量更名
- 积分变换测试记录
- 键盘上的回车按钮点击事件的个数问题
- 【COCI2015】【BZOJ3810】Stanovi
- java线程深度解析(一)——java new 接口?匿名内部类给你答案
- 【转】百度api查询天气