2006-09-04
scrollable table
scrollable table
<div style="overflow:auto;width:200px;height:100px">
<table>
<tr style="position:relative;top:expression(this.offsetParent.scrollTop);background-color:white">
<th>Date</th>
<th>Holiday Type</th>
</tr>
<tr>
<td>2006-10-01</td>
<td>HK Holiday</td>
</tr>
</table>
</div>
<div style="overflow:auto;width:200px;height:100px">
<table>
<tr style="position:relative;top:expression(this.offsetParent.scrollTop);background-color:white">
<th>Date</th>
<th>Holiday Type</th>
</tr>
<tr>
<td>2006-10-01</td>
<td>HK Holiday</td>
</tr>
</table>
</div>