scrollbar with fixed header in table in html code example Example: table fixed header .tableFixHead thead th { position: sticky; top: 0; }