Table with fixed headers
6 posts
• Page 1 of 1
Table with fixed headers
Does anybody know how to make a table that has fixed headers so if I make it scrollable, the headers won't move? I've tried everything with no success.
Thanks!
Mac OS 10.6.7 - Personal
Ubuntu Server 11.04 - Server
Re: Table with fixed headers
I'm not sure you can do that in XHTML, the page will scroll. You'd have to do that in flash or use a graphic/table at the top of the table with an iframe or something I'd think.
"Greatness is not a function of circumstance. Greatness, it turns out, is largely a matter of conscious choice, and discipline." - Jim Collins
- kanaloa
- President
- Posts: 11795
- Joined: Sun Mar 10, 2002 1:18 am
- Location: HI & SC
- Real Name: John Derrick
Re: Table with fixed headers
I'm not sure how exactly to do it code wise, but I know it is possible to do as we have that at work. I can't access it while I'm at home, but I could try and take a look at the code on the page to see how it's done sometime next week.
- imnuts
- Posts: 7457
- Joined: Wed Mar 24, 2004 5:19 am
- Location: Boothwyn, Pennsylvania
- Real Name: Mark
Re: Table with fixed headers
These guys do it with javascript. If there's a non-js way to do this, I'd be curious to know about it myself.
http://www.activewidgets.com/javascript ... first.html
http://www.activewidgets.com/javascript ... first.html
"Greatness is not a function of circumstance. Greatness, it turns out, is largely a matter of conscious choice, and discipline." - Jim Collins
- kanaloa
- President
- Posts: 11795
- Joined: Sun Mar 10, 2002 1:18 am
- Location: HI & SC
- Real Name: John Derrick
Re: Table with fixed headers
For something I see so often, I can't understand why there are nobody seems to be explain how to do it. I need it again, and I'm going to figure it out this time so I'll be sure to post it here when I do.
Mac OS 10.6.7 - Personal
Ubuntu Server 11.04 - Server
Re: Table with fixed headers
I found this way:
http://www.ssi-developer.net/css/non-sc ... -hdr.shtml
Also, here is the google search:
http://www.google.com/search?hl=en&q=Ta ... r&aq=f&oq=
http://www.ssi-developer.net/css/non-sc ... -hdr.shtml
Also, here is the google search:
http://www.google.com/search?hl=en&q=Ta ... r&aq=f&oq=
- jbullard
- VP - Software
- Posts: 3653
- Joined: Sun Jun 06, 2004 10:17 pm
- Location: Utah
- Real Name: Jason Bullard
6 posts
• Page 1 of 1
Return to HTML, CSS, and Scripts
Who is online
Users browsing this forum: No registered users and 6 guests