日期:2014-05-19  浏览次数:20440 次

表格A中嵌套表格B,当B大于A的时候,怎么能让A出现滚动条?
A的大小固定,B不固定,当B大于A的时候,怎么能让A横向竖向都出现滚动条?
谢谢!

<table   id= "Table1 "   height= "420 "   cellSpacing= "1 "   cellPadding= "1 "   width= "790 "   align= "center "   border= "0 ">
<tr>
<td>

<table> </table>

</td>
</tr>
</table>

------解决方案--------------------
<table id= "Table1 " height= "420 " cellSpacing= "1 " cellPadding= "1 " width= "790 " align= "center " border= "0 ">
<tr>
<td>
<div style= "width:790px;overflow:auto ">
------解决方案--------------------
<table id= "Table1 " height= "420 " cellSpacing= "1 " cellPadding= "1 " width= "790 " align= "center " border= "0 ">
<tr>
<td>
<div style= "width:790px;overflow:auto ">
<table> ... </table>
</div>
</td>
</tr>
</table>


-----我只是帮孟子圣人把html代码写完,不是来抢分的!莫见怪
------解决方案--------------------
<div style= "width:790px;overflow:auto ">
------解决方案--------------------
抢不过阿...