scrollable table vertical

124

thead, tbody { display: block; }

tbody {
    height: 100px;       /* Just for the demo          */
    overflow-y: auto;    /* Trigger vertical scroll    */
    overflow-x: hidden;  /* Hide the horizontal scroll */
}
<div style="height:100px;overflow:auto;">

 ... Your code goes here ...

</div>

Comments

Submit
0 Comments