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 ??
Html table fixed headers
Moderators: egami, macek, gesf
-
- New php-forum User
- Posts: 7
- Joined: Tue Sep 23, 2014 10:57 am
- Contact:
- WebOutGateway
- New php-forum User
- Posts: 65
- Joined: Mon Jun 13, 2011 9:25 pm
- Location: Pasig City, Philippines
- Contact:
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.
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.
-
- New php-forum User
- Posts: 7
- Joined: Tue Sep 23, 2014 10:57 am
- Contact:
Thank you WebOutGateway, I did it in thiet ke web chuan seo
-
- New php-forum User
- Posts: 7
- Joined: Tue Sep 23, 2014 10:57 am
- Contact: