您的位置:程序门 -> web 开发 -> html(css)



table转成css问题


[收藏此页] [打印本页]选择字色:背景色:字体:[][][]


table转成css问题
发表于:2007-07-30 16:48:53 楼主
不好意思有点过分了 但是还是想知道这个怎么弄成css布局 谢谢 小弟一定苦心研究!
<table   width= "100% "   height= "100% "   border= "0 "   cellpadding= "0 "   cellspacing= "0 ">
      <tr>
          <td   width= "100% "   height= "15% "     colspan= "2 "   valign= "top ">
                <table   width= "100% "   height= "100% "   border= "0 "   cellpadding= "0 "   cellspacing= "0 ">
      <tr>
          <td   width= "30% "   height= "100% "   valign= "top "   bgcolor= "#000000 ">  
          </td>
          <td   width= "70% "   height= "100% "   align= "right "   valign= "bottom "   bgcolor= "#000000 ">
          </td>
    </tr>
                </table>
          </td>
    </tr>
    <tr>
        <td   width= "20 "   height= "85% "   valign= "top "   bgcolor= "#dddddd "   style= "border-right:   #000000   1px   dashed "> &nbsp; </td>
        <td   width= "80% "   height= "85% "   valign= "top "   bgcolor= "#ffffff ">   </td>
    </tr>
</table>
发表于:2007-07-30 16:52:161楼 得分:0
goooooooooooooooooooooooogle   一下
div   css   网站布局.
发表于:2007-07-31 13:09:092楼 得分:0
要搞到所有浏览器都正常才郁闷~~~~
发表于:2007-07-31 15:22:013楼 得分:0
这个很难吗???有没有人帮帮忙啊!
发表于:2007-07-31 15:46:344楼 得分:0
那可不可以给一个div   css   布局相对定位   两行两列的实例
发表于:2007-07-31 16:57:305楼 得分:0
<div   style= "width:   100% ">
        <div   style= "width:50%;float:left;height:   50px;background:red; "> </div>
        <div   style= "width:50%;float:left;height:   50px;background:blue; "> </div>
        <div   style= "width:50%;float:left;height:   50px;background:yellow; "> </div>
        <div   style= "width:50%;float:left;height:   50px;background:green; "> </div>
        <div   style= "clear:both;font-size:0;overflow:hidden; ">
</div>


快速检索

最新资讯
热门点击