首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > asp.net >

◆◇◆ 帮小弟我将 table 转成 div 。◆◇◆

2012-01-02 
◆◇◆ 帮我将 table 转成 div 。◆◇◆tableid table1 style width:100% trid row1 tdid cell1

◆◇◆ 帮我将 table 转成 div 。◆◇◆
<table   id= "table1 "   style= "width:100%; ">
        <tr   id= "row1 ">
                <td   id= "cell1 "   style= "width:100px;   background-color:#EEEEEE; "> </td>
                <td   id= "cell2 "   style= "background-color:#FF0000; "> Content </td>
                <td   id= "cell3 "   style= "width:100px;   background-color:#EEEEEE; "> </td>
        </tr>
</table>
===================================================================
cell3   要自适应宽度。cell1,cell3   的高度(背景)要随着   cell2   增高而增高。

[解决办法]
帮你顶
[解决办法]
DIV比TABEL好吗???????
[解决办法]
<div style= "width:100%; height: 110px; ">
<div style= "float:left; "> cccccccccccc </div>
<div style= "float:left; " > bbbbbbbb </div>
<div style= "width:auto; " > aaaaaaaaa </div>
</div>

cell1,cell3 的高度(背景)要随着 cell2 增高而增高
这个还没想好,要加div

热点排行