Ian Skinner wrote:
I have this fairly large table that, unless one has their monitor set to above
average resolutions (such as mine at 1280x1024), one can not see the entire
table at once. And since it is long both horizontally and vertically one gets
the dreaded double scroll bars at lower resolutions.
Is there any reasonably way to keep the column and row headers visible while
the data cells scroll up, down, left, right and all around?
You may set the height for tbody and make overflow auto. This will let
the body scroll while header and footer stay in place. Unfortunately,
IE and Opera(7.54) do not support this. See my demo at
<http://garyblue.port5.com/webdev/scrollingtable.html> for my
work-around with a nested table.
An interesting side note, this seems to be one of the few instances of IE6 (in
compliance mode) following the standards better then Firefox. IE is honoring
my specified column widths, even though that means some of the heading cells'
content does not fit. Firefox stretches those cells. I would have expected
the reverse.
From <http://www.w3.org/TR/CSS21/tables.html#q4>,"'width'
The 'width' property gives the minimum width for the column."
This would suggest to me that Firefox is doing it correctly.
cheers,
gary
--
Anyone can build a usable web site. It takes a graphics designer to
make it slow, confusing, and painful to use.
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/