如下所示:
<div style="width:700px; height:225px; overflow:auto;"> <table border="1" width="100%" cellpadding="0" cellspacing="0"> <tr> <td width="3%">0</td> <td width="7%">0</td> </tr> <tr> <td width="3%">1</td> <td width="7%">2</td> </tr> <tr> <td width="3%">3</td> <td width="7%">4</td> </tr> <tr> <td width="3%">5</td> <td width="7%">6</td> </tr> <tr> <td width="3%">7</td> <td width="7%">8</td> </tr> </table> </div>
以上就是小編為大家帶來的jsp中實現帶滾動條的table表格實例代碼全部內容了,希望大家多多支持~