1----- Horizontally scrollable -----
2<!-- A responsive table will display a horizontal scroll bar if the screen is
3too small to display the full content.
4To create a responsive table,
5add a container element with --> overflow-x:auto <!-- around the --> <table> :
6
7 <div style="overflow-x:auto;">
8 <table>
9 ...
10 </table>
11 </div>
12
13----- Vertically scrollable -----
14 <!-- Just add the display:block to the thead > tr and tbody.
15 check the below example -->
16 html>body tbody.scrollContent {
17 display: block;
18 overflow: auto;
19}
20<div>
21 <table>
22 <thead class="fixedHeader">
23 </thead>
24 <tbody class="scrollContent">
25 </tbody>
26 </table>
27</div