Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can I make non-scrolling table headers?
Message
 
To
15/05/2002 15:21:37
Mike Sue-Ping
Cambridge, Ontario, Canada
General information
Forum:
Internet
Category:
HTML
Miscellaneous
Thread ID:
00657098
Message ID:
00657402
Views:
26
>Hi all,
>
>I've created a table using the
<table>, <th>, <tr> and <td>
tags that produces many rows of data. The table has a vertical scrollbar that allows the table to scroll when all of the rows cannot be displayed at one time. This is as I expected, however, the table headers scroll out of sight as well and I would prefer to have them always visible!
>
>How can I make the table headers stay put and not scroll? I've seen some solutions that use javascript or "overflow" but these seem too complex for my level. Is there an easier way? I've tried using a frame for the headers but that has problems when trying to determine the correct column widths.
>
>Anyone have a solution? I can't believe that the standard did not include an option to make this happen automatically.
>
>TIA
>
>Mike

Put the headers in a frame.
Tim Westmoreland
Software Engineer
Skyline Technologies, Inc.

"Upper classes are a nation's past; the middle class is its future." - Ayn Rand, Russian-born author (1905-1982).
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform