<!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>无标题文档</title>
<style type="text/css">
<!--
body,td,th {
color: #9C0;
}
.zhengti {
background-color: #C66;
width: 400px;
}
.zuo {
float: left;
width: 100px;
}
.zuo1 {
width: 50px;
background-color: #0CC;
white-space: nowrap;
overflow: hidden;
}
.you {
float: left;
width: 200px;
}
.qing {
clear: both;
}
-->
</style></head>
<body>
<div class="zhengti">
<div class="zuo">
<div class="zuo1"><input name="" type="checkbox" value="" />111111</div>
<div class="zuo1"><input name="" type="checkbox" value="" />2222222222</div>
<div class="zuo1"><input name="" type="checkbox" value="" />333333333333</div>
<div class="zuo1"><input name="" type="checkbox" value="" />4444444444</div>
</div>
<div class="zuo">
<div class="zuo1"><input name="" type="checkbox" value="" />111111</div>
<div class="zuo1"><input name="" type="checkbox" value="" />2222222222</div>
<div class="zuo1"><input name="" type="checkbox" value="" />333333333333</div>
<div class="zuo1"><input name="" type="checkbox" value="" />4444444444</div>
</div>
<div class="zuo">
<div class="zuo1"><input name="" type="checkbox" value="" />111111</div>
<div class="zuo1"><input name="" type="checkbox" value="" />2222222222</div>
<div class="zuo1"><input name="" type="checkbox" value="" />333333333333</div>
<div class="zuo1"><input name="" type="checkbox" value="" />4444444444</div>
</div>
</div>
</body>
</html>
多个checkbox的对齐[DIV]
最新推荐文章于 2022-09-09 10:42:22 发布