W3C home > Mailing lists > Public > w3c-wai-ig@w3.org > January to March 2014

Re: [WebAIM] Tables with sticky headers

From: Ramón Corominas <listas@ramoncorominas.com>
Date: Sun, 23 Feb 2014 19:02:56 +0100
Message-ID: <530A37D0.9070308@ramoncorominas.com>
To: Jonathan Avila <jon.avila@ssbbartgroup.com>
CC: Sailesh Panchang <sailesh.panchang@deque.com>, w3c-wai-ig@w3.org, james@nurthen.com
In principle. you can use:

tbody {
   display: block;
   height: 300px; /* fixed height */
   overflow: auto;
}

Regards,
Ramón.

Jonathan wrote:

> Sailesh, yes this was the intention of the thead and tfoot elements.  In
> addition, the thead and tfoot should appear on the top and bottom of each
> table that spans pages when printing tables.  This feature however hasn't
> been well supported in browsers on-screen.

 >> James and perhaps Steve,
>> 
>> Does HTML5 have a solution to this problem? This has been a problem for
>> long and just marking up table header rows within a THEAD and having an
>> attribute that  like'no VScroll' (I made it up) at the THEAD level or for
>> every TR in the THEAD should make the user agents treat those rows as
>> fixed.
>> And maybe also no horizontal scroll for row header columns. This should
>> make the table headers lock like in an Excel table.
>> Thoughts?
Received on Sunday, 23 February 2014 18:03:45 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 13 October 2015 16:21:50 UTC