田字格布局html div
2024-09-04 21:40:10
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html> <head> <meta http-equiv="Content-Type" content="text/html;charset=gb2312">
<title>田字格布局</title>
<style>
#prat1{
width: 200px;
height: 200px;
background: #CDAD00;
float: left;
}
#prat2{
width: 200px;
height: 200px;
background: #CD6839;
float: left;
}
#prat3{
width: 200px;
height: 200px;
background: #CD6090;
float: left;
clear: left;
}
#prat4{
width: 200px;
height: 200px;
background: #CD3333;
float: left;
}
</style>
</head>
<body>
<div id="prat1">块1</div>
<div id="prat2">块2</div>
<div id="prat3">块3</div>
<div id="prat4">块4</div>
</body>
</html>
块1
块2
块3
块4
最新文章
- ubuntu 好玩多了
- CF #376 (Div. 2) C. dfs
- HashMap 遍历
- paper 83:前景检测算法_1(codebook和平均背景法)
- sqlldr导入数据
- hadoop 2.0 native
- JS家的排序算法
- poj1284:欧拉函数+原根
- 【Solr专题之九】SolrJ教程
- 使用Advanced Installer 自动部署 Arcgis Engine Runtime 10.0
- C++入门篇二
- k-近邻算法概述
- Docker中使用Tomcat并部署war工程
- 【腾讯Bugly干货分享】Android 新一代多渠道打包神器
- TensorFlow从入门到理解(四):你的第一个循环神经网络RNN(分类例子)
- 初级ai思维导图,基础人工智能设计图
- 安装启动kafka
- java小程序(课堂作业02)
- Cygwin使用3-修改Cygwin的默认启动路径
- UnicodeDecodeError: &#39;ascii&#39; codec can&#39;t decode byte 0xa3 in position 1: ordinal not in range(128)
热门文章
- jquery ui tabs详解(中文)
- XMU 1056 瞌睡 vs 听课 【动态规划】
- Linux MTD下获取Nand flash各个参数的过程的详细解析【转】
- windows系统下mysql5.5查看和设置数据库编码
- iOS7 push/pop转场动画
- 【转】解决从jenkins打开robot framework报告会提示‘Opening Robot Framework log failed ’的问题
- robotframework收藏
- form表单提交的几种方法
- bzoj 4849: [Neerc2016]Mole Tunnels【模拟费用流】
- 51nod 1238 最小公倍数之和 V3 【欧拉函数+杜教筛】