1 reply [Last post]
tqmd1
tqmd1's picture
Offline
Regular
Pakistan
Last seen: 2 years 23 weeks ago
Pakistan
Timezone: GMT+5
Joined: 2011-10-15
Posts: 17
Points: 35

Sir is it possible to freeze table header row?
I am trying to freeze header row in scrollable div.

Please see my codes here
https://jsfiddle.net/nqdzpdjz/21/

I want header row with green color must remain in its place when I scroll the div.

Please help

Tony
Tony's picture
Offline
Moderator
Brisbane
Last seen: 2 weeks 1 day ago
Brisbane
Timezone: GMT+10
Joined: 2003-03-12
Posts: 5342
Points: 2963

Hi tqmd1 Try something

Hi tqmd1

Try something like:
.mytable thead{ position:fixed;}