• λ我爱Aspx >> Asp.Net >> XHTML +CSS 表格高度问题
  • XHTML +CSS 表格高度问题

  • :aspxer  Դ:csdn  :2007-7-6 2:49:19  ؼ:
  • <table>

    google_ad_width = 250; google_ad_height = 250; google_ad_format = "250x250_as"; google_color_url = "000000";

    <tr style="height: 80px;">

    <td>

    </td>

    </tr>

    <tr style="height: 100%;">

    <td>

    </td>

    </tr>

    </table>

    在html 4.0中,第二行的高度会是剩余高度的100%,

    而在xhtml中,第二行的高度却是整个页面高度的100%.如果想只让它占剩余空间的100%要怎么写呢?

    刚开始学习,有些不明白,请指教.

    第2楼. 由 qianzc 于 2007-6-27 17:26:40 发表

    100%改auto试试。

    第3楼. 由 tianzhenjing 于 2007-6-27 21:29:10 发表

    <table style="100%;">//这儿也设高度

    <tr style="height: 80px;" nowrap=nowrap>//加上nowrap=nowrap

    <td>

    </td>

    </tr>

    <tr style="height: 100%;">

    <td>

    </td>

    </tr>

    </table>

    Ҷƪл˵?
  • һƪ请问: IE下,固定下拉框select的长度,当option长度超过时,只拉长option的长度,下拉框本身的长度不变,咋搞?
    һƪ关于div+css排版的问题