Freeze header row


Sir is it possible to freeze table header row?

I am trying to freeze header row in scrollable div.
Please see my codes here

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

Please help



Here you go.


Good Joke.

Google does not have reply to my answer.
When I FIX header row, it does not stretch with tbody td.

Googling for the last 3 days when failed then i posted here.
But faced good joke.

Anyway thanks