lcf's Web Cote

Don't try to tie me down with those conventions.
  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

css+ul li实现三行两列的表格

Posted on 2007-07-21 18:17  Lcf  阅读(1672)  评论(0编辑  收藏  举报
html 
<div style="width:450px;">
<div style="width:200px;height:200px;border: 000 1px solid;float:left;">1-1
</div>
<div style="width:200px;height:200px;border: 000 1px solid;float:right;">1-2
</div>
<div style="width:200px;height:200px;border: 000 1px solid;float:left;">2-1
</div>
<div style="width:200px;height:200px;border: 000 1px solid;float:right;">2-2
</div>
<div style="width:200px;height:200px;border: 000 1px solid;float:left;">3-1
</div>
<div style="width:200px;height:200px;border: 000 1px solid;float:right;">3-2
</div>
</div>
/html