Home  >  Article  >  Web Front-end  >  Example code to implement table with scroll bar in jsp

Example code to implement table with scroll bar in jsp

高洛峰
高洛峰Original
2016-12-29 16:38:561841browse

As shown below:

<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>

The above is the entire content of the example code for implementing a table with scroll bars in jsp brought by the editor. I hope everyone will support the PHP Chinese website~

For more articles related to the example code of implementing a table with scroll bars in jsp, please pay attention to the PHP Chinese website!


Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn