logo-dw

Go Back   Dreamweaver Club Forums > Dreamweaver forums > Spry
Register FAQ Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
Old 04-26-2011, 02:50 PM   #1
tacticalts
 
Join Date: Apr 2011
Posts: 2
Question Locking Table Headers

Is there a way I can lock the table headers (<th>) in my table?

The client wants the headers to remain at the top of the table while the table scrolls, but I can't seem to figure out how.

If anyone has an example or a link to sample code it would be greatly appreciated.

Thanks
Bob
tacticalts is offline   Reply With Quote
Old 04-26-2011, 03:14 PM   #2
tacticalts
 
Join Date: Apr 2011
Posts: 2
Default

Nevermind, I found out if I used a tbody tag with overflow set to auto, the header remained fixed.
tacticalts is offline   Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:45 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Copyright 2006 DreamweaverClub.com