NameSilo

Adding a header to a table that scrolls so that the column names are always visible

SpaceshipSpaceship
Watch

JsteRmX

Established Member
Impact
2
Hi, i think this should be fairly simple to solve, but i have not had any luck searching around for the answer.

I have a scrollable table on my webpage. I need the top row containing all the column names to not scroll with the table, so i guess i need to somehow make a table header that will stay there (or would a header scroll too?)

Any help would be great, thanks.



EDIT****

well i found some solution to this.

I just made another table with one row and same number of columns right above the table that scrolls, and used that as a "header" ( am i even using the right word, header?)

this works, but it doesnt extend over the scroll bar, it ends right when the scroll starts.
 
Last edited:
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
AfternicAfternic
Appraise.net

We're social

Escrow.com
Spaceship
Rexus Domain
CryptoExchange.com
Domain Recover
CatchDoms
DomDB
NameFit
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back