table body scroll header fixed css for page code example Example: html table scrollable body fixed header /*Simply*/ position:sticky; top: 0; /*your th elements*/