让table跟table中的TD在指定区域滚动

让table和table中的TD在指定区域滚动使用的属性如下:div stylewidth:100% height:180px overflow-y:s

让table和table中的TD在指定区域滚动
使用的属性如下:

<div style="width:100%; height:180px; overflow-y:scroll; position: relative;">
<table></table>
</div>

同理:
<td>
<div style="width:100%; height:180px; overflow-y:scroll; position: relative;"></div>
</td>