Html table fixed headers

A

Anonymous

Guest
HI All

I have created a large html dynamic table using jquery .
Now my query is here , How to make a fixed html table header while scrolling .

can any one please hepl me how to solve ??
 
Hi, congay2014!

You can do that by setting your table header <th> div (the container of your table header or title) positioned absolutely.

th div
{
position: absolute;
}

You can also check this:
http://jsfiddle.net/dPixie/byB9d/3/

I hope this helps. Thank you.
 
Back
Top