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

Example code to implement table with scroll bar in jsp

高洛峰
Release: 2016-12-29 16:38:56
Original
1861 people have browsed it

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>
Copy after login

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!


Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template