html之区域的浮动
来源:互联网 发布:淘宝国际 编辑:程序博客网 时间:2024/06/03 02:08
html页面
<!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>
<link type="text/css" rel="stylesheet" href="index11.css" />
</head>
<body>
<div>
<div id="one"></div>
<div id="two"></div>
<div id="three"></div>
</div>
<div id="four">
<div id="four-one">
<div id="four-one1"></div>
<div id="four-one2"></div>
</div>
<div id="four-two">
<div id="four-two1">
<div id="four-two11"></div>
<div id="four-two12"></div>
</div>
<div id="four-two2"></div>
</div>
</div>
<div id="five">
<div id="five-one"></div>
<div id="five-two"></div>
<div id="five-three"></div>
</div>
</body>
</html>
css页面
@charset "utf-8";
/* CSS Document */
*{margin:0px auto;
padding:0px;}
#one{width:25%;
height:100px;
background-color:#30F;
float:left;}
#two{width:50%;
height:100px;
background-color:#63F;
float:left;}
#three{width:25%;
height:100px;
background-color:#9C0;
float:right;}
#four{width:100%;
height:600px;
background-color:#909;}
#five{width:100%;
height:150px;
background-color:#F9C;}
#four-one{width:30%;
height:600px;
background-color:#0F0;
float:left;}
#four-two{width:70%;
height:600px;
background-color:#609;
float:right;}
#five-one{width:100%;
height:50px;
background-color:#300;
float:left;}
#five-two{width:100%;
height:50px;
background-color:#090;
float:left;}
#five-three{width:100%;
height:50px;
background-color:#960;
float:left;}
#four-one1{width:100%;
height:300px;
background-color:#903;
float:left;}
#four-one2{width:100%;
height:300px;
background-color:#CF0;}
#four-two1{width:60%;
height:600px;
background-color:#99C;
float:left;}
#four-two2{width:40%;
height:600px;
background-color:#96F;
float:right;}
#four-two11{width:100%;
height:300px;
background-color:#0CF;
float:left;}
#four-two12{width:100%;
height:300px;
background-color:#66F;
float:left;}
- html之区域的浮动
- html的浮动按钮
- HTML+CSS学习之浮动
- html之定位、浮动补充
- HTML+CSS基础之浮动
- HTML CSS的兼容性问题、IE6BUG之浮动与定位篇
- HTML之浮动和边距
- 获取选定区域的html
- HTML浮动
- Html 浮动
- HTML5学习_day05(6)--html之布局中使用浮动带来的问题
- HTML5学习_day05(7)--html之布局中使用浮动带来的问题
- H5学习之12(html中的使用浮动布局带来的问题和解决方法)
- 制作一个浮动的HTML窗体
- Html+CSS浮动的广告条
- html+css----清除浮动的方法
- html中div的浮动问题
- HTML/CSS 清浮动的方法
- secureCRT使用VIM时对语法高亮以及VIM的使用
- C语言二叉树建立,遍历(递归与非递归),交换子树
- NDK CPU Features
- Linux基本使用
- 异步SRAM
- html之区域的浮动
- 躺桩
- IE中点击链接下载EXCEL文件直接以乱码方式打开解决
- 出了ORA-27101: shared memory realm does not exist 错误的处理
- win8上应开发android虚拟机一键切换功能
- php mysql事务详解
- Android调用百度api 获取经纬度以及地图 demo你怎么可以那么坑我????
- 【小波变换】STL版 一维离散小波变换(DWT)库,完全按matlab的wavelet toolbox 的API实现的
- iOS文件操作 NSFileManager