读书人

[前辈]要使Table产生滚动条,怎么实现

发布时间: 2012-01-12 22:11:58 作者: rapoo

[前辈]要使Table产生滚动条,如何实现?
采用xmlhttp返回结果太长.

前台处理方式:
document.getElementById( "Test ").innerHTML = arr[0];


表格:

<table>
<tr>
<td valign= "top " bgcolor= "#E3DED7 " class= "t2 ">
<div id= "Test " style= "height:20;overflow-x:hidden;overflow-y:scroll; "> </div>
</td>
</tr>
</table>


请问为什么不能产生滚动条呢????




[解决办法]
第四行弄错了。
<div id= "Test " style= "height:20px; weith: 400px;overflow-x:hidden;overflow-y:scroll; ">

[解决办法]
20px

读书人网 >asp.net

热点推荐