首页 > 其他 > 详细

等高1

时间:2014-11-07 15:09:47      阅读:241      评论:0      收藏:0      [点我收藏+]

<!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

原文:http://my.oschina.net/glelaine/blog/341970

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!