xxxxxxxxxx
<div style="height:100px;overflow:auto;">
Your code goes here
</div>
xxxxxxxxxx
thead, tbody { display: block; }
tbody {
height: 100px; /* Just for the demo */
overflow-y: auto; /* Trigger vertical scroll */
overflow-x: hidden; /* Hide the horizontal scroll */
}