A table that is sticky needs to have a background, because otherwise we’ll see overlapping content. It also needs proper z-index handling so that when it sticks in place, it’s on top of what it is supposed to be. Make sure the thead>th:first-child cell is the very highest, as it needs to be above the body cells.
1 Comment
Sort: