IE浏览时,htmltable单元格内没有内容时,边框显示不出来,怎么能显示出来?谢了!

解决方案 »

  1.   

    设置其border=1,然后设置td的人height=20或者尼满意的高度,如果width没有,也要设置相应的width
     eg:
    <table border=1 width=500><tr><td width=100% height=20></td></tr><tr><td width=100% height=20></td></tr></table>
      

  2.   

    <table border=1>
    <tr>
    <td>&nbsp;</td>
    </tr>
    </table>
    没有内容用空格填一个
    border=1才能显示边框
      

  3.   

    没内容,就加个空格(&nbsp;)。