HTML CSS examples for CSS Widget:Table Scroll
Horizontally scroll through HTML table
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> #myTable {<!--from w w w. j a va 2 s . c o m--> font-size:6em; overflow:auto; width:301px; font-style:bold; } </style> </head> <body> <p> </p> <div id="myTable"> <table> <tbody> <tr> <th>Lorem ipsum</th> <th>Lorem ipsum </th> <th>Lorem ipsum</th> <th>Lorem ipsum d</th> <th>Lorem ipsum d</th> <th>Lorem ipsum d</th> <th>Lorem ipsum d</th> <th>Lorem ipsum d</th> <th>Lorem ipsum d</th> <th>Lorem ipsum d</th> <th>Lorem ipsum d</th> <th>Lorem ipsum d</th> <th>Lorem ipsum d</th> <th>Lorem ipsum d</th> <th>Lorem ipsum d</th> <th>Lorem ipsum d</th> <th>Lorem ipsum d</th> <th>Lorem ipsum d</th> <th>Lorem ipsum d</th> </tr> <tr> <td>Lorem i</td> <td>Lorem i</td> <td>Lorem i</td> <td>Lorem i</td> <td>Lorem i</td> <td>Lorem i</td> <td>Lorem i</td> <td>Lorem i</td> <td>Lorem i</td> <td>Lorem i</td> <td>Lorem i</td> <td>Lorem i</td> <td>Lorem i</td> <td>Lorem i</td> <td>Lorem i</td> <td>Lorem i</td> <td>Lorem i</td> <td>Lorem i</td> <td>Lorem i</td> </tr> </tbody> </table> </div> <p></p> </body> </html>