Add scrollbar to a table or div using css - CSS Views : 623
Tagged in : CSS
0 0
Send mail
You can add scroll bar to a table or div using the style,overflow:scroll

<div style="overflow:scroll;height:80px;width:100%;overflow:auto">
<table width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td>test</td>
</tr>
<tr>
<td>test</td>
</tr>
<tr>
<td>test</td>
</tr>
<tr>
<td>test</td>
</tr>
<tr>
<td>test</td>
</tr>
<tr>
<td>test</td>
</tr>
</table></div>
By Rekha, On - 2010-02-09



    Login to add Comments .