Hello
I had to implement a table with a scrollable body and a fixed header for
a client. While searching for solutions I found an approach that seems
to work ok, but requires fixed column widths:
http://www.imaputz.com/cssStuff/bigFourVersion.html
Another one, discussed in this list, allows flexible column widths, but
is rather hackish and does not seem to even work in IE 8 and Google Chrome:
http://archivist.incutio.com/viewlist/css-discuss/72333
Has there been any movement on this topic since then? While it might be
difficult from an implementation POV - from an authoring POV it would
look consistent to me, that overflow:scroll should work on a <tbody>
element without further hacking as it works on a <div> element.
I ended up using a jQuery solution, with the downside that the table is
not printable anymore. Of course I can add a printable version of the
page, but I'd prefer a single page that works both on screen and print.
So if somebody knows a better solution, I'd be glad to get pointed there.
Thanks
Markus
______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/