首页 > 代码库 > 等高1
等高1
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Document</title>
<style>
#container2 { clear:left; float:left; width:100%; overflow:hidden; background:#ffa7a7; /* column 2 background colour */}#container1 { float:left; width:100%; position:relative; right:50%; background:#fff689; /* column 1 background colour */}#col1 { float:left; width:46%; position:relative; left:52%; overflow:hidden;}#col2 { float:left; width:46%; position:relative; left:56%; overflow:hidden;}
</style>
</head>
<body>
<div id="container2">
<div id="container1">
<div id="col1">
00001<br/>
00001<br/>
00001<br/>
</div>
<div id="col2">
0000<br/>
0000<br/>0000<br/>
0000<br/>
0000<br/>
0000<br/>
</div>
</div>
</div>
</body>
</html>
等高1