with fixed and scrollable [duplicate]
Chrome, FF, Edge the simplest solution is to use th { position: sticky; top: 0; } /* JUST COMMON TABLE STYLES… */ table { border-collapse: collapse; width: 100%; } th, td { background: #fff; padding: 8px 16px; } .tableFixHead { overflow: auto; height: 100px; } .tableFixHead thead th { position: sticky; top: 0; } <div … Read more