Am 28.03.2011 23:43 schrieb Markus Ernst:
I had to implement a table with a scrollable body and a fixed header for
a client.
[...]
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.

After I got great help to my actual problem, I would be interested in some opinions or clarifications about applying overflow:scroll to a tbody element.

Currently there does not seem to be any good browser support for it - I tested this testcase:
http://www.markusernst.ch/stuff_for_the_world/table-scroll-test.html

IE 8, Opera 11 and Chrome 10 do nothing, which is better than Firefox 3.6 which displays a very buggy table with an unnecessary horizontal scrollbar and strangely behaving cell borders.

I don't understand everything in the spec, but assume that table-* elements are looked at as "replaced elements", so that the overflow property does not apply.

But actually scrollable tables are asked for in the real world. There is no way to realize them via scripting or CSS without drawbacks. I can't see fundamental implementation barriers (as long as there is only one fixed header, either at the top or at the left resp. right side).

Are there any clinical reasons for not allowing scrollable tables? Or has this just been forgotten in the speccing process so far?
______________________________________________________________________
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/

Reply via email to