how to fix table header in css code example Example: table fixed header .tableFixHead thead th { position: sticky; top: 0; }