前端小作品--基本网页布局
来源:互联网 发布:js怎么判断对象类型 编辑:程序博客网 时间:2024/06/02 23:09
<!DOCTYPE html><html><head><title>网页基本布局</title><style type="text/css">*{margin: 0;padding: 0;}.header{width: 970px;height: 103px;margin: 0 auto;margin-bottom: 10px;}.header .logo{float: left;width: 277px;height: 103px;background-color: skyblue;}.header .language{float: right;width: 137px;height: 49px;background-color: green;margin-bottom: 8px;}.header .nav{float: right;width: 679px;height: 46px;background-color: green;}.content{width: 970px;height: 435px;margin: 0 auto;}.content .banner{float: left;width: 310px;height: 435px;background-color: pink;}.content .main{float: right;width: 650px;height: 435px;}.content .main .news{width: 650px;height: 401px;margin-bottom: 10px;}.content .main .links{width: 650px;height: 25px;background-color: purple;}.content .main .news .newshome{float: left;width: 450px;height: 401px;}.content .main .news .shots{float: right;width: 190px;height: 401px;background-color:red;}.content .main .news .newshome .news1{width: 450px;height: 240px;background-color: blue;margin-bottom: 10px;}.content .main .news .newshome .news2{width: 450px;height: 110px;background-color: blue;margin-bottom: 10px;}.content .main .news .newshome .news3{width: 450px;height: 30px;background-color: blue;}.footer{width: 970px;height: 30px;background-color: orange;margin: 0 auto;margin-top: 10px;}</style></head><body><div class="header"><div class="logo"></div><div class="language"></div><div class="nav"></div></div><div class="content"><div class="banner"></div><div class="main"><div class="news"><div class="newshome"><div class="news1"></div><div class="news2"></div><div class="news3"></div></div><div class="shots"></div></div><div class="links"></div></div></div><div class="footer"></div></body></html>
阅读全文
0 0
- 前端小作品--基本网页布局
- [前端 1] 使用frameset框架构建网页基本布局
- 基本网页布局摘要
- 网页基本布局
- web前端工程师----网页布局
- 40个布局排版好看的网页设计作品
- 40个布局排版好看的网页设计作品
- 基本的html网页布局
- css网页版的心形音乐盒,小白作品、
- 网页布局的九宫格基本布局
- 前端基础学习-常见CSS网页布局
- 前端知识整理之网页布局
- 前端学习笔记-9月--基本布局
- 前端视界:2012年度最独特的网页设计作品展示《上篇》
- 前端视界:2012年度最独特的网页设计作品展示《中篇》
- 前端视界:2012年度最独特的网页设计作品展示《下篇》
- 前端视界:2012年度最独特的网页设计作品展示《中篇》
- CSS网页布局编码小技巧整理
- cmd命令提示符大全(干货)
- This application failed to start because it could not find or load the Qt platform plugin "windows"
- NSDictionary出现存储value不完整
- keras深度学习框架的训练保存及调用
- web前端常见安全问题
- 前端小作品--基本网页布局
- 20. Valid Parentheses(栈)
- [POJ](1001)求高精度幂 ---大数
- 技巧
- <Linux>CentOS常用命令
- 鸟哥的私房菜 第七章Linux 档案于目录管理个人总结
- 简单的鼠标悬停效果
- 什么是真正的实时操作系统
- 关于报表制作需要生成Office2007以上版本文件的注意点