W3C home > Mailing lists > Public > whatwg@whatwg.org > April 2012

[whatwg] Tables, headers and bodies

From: Tim Streater <tim@clothears.org.uk>
Date: 02 Apr 2012 11:42 +0100
Message-ID: <20120402104302.51B3B3E01CB@homiemail-mx23.g.dreamhost.com>
On 01 Apr 2012 at 21:15, Jose Fandos <iaminlondon at gmail.com> wrote: 

> Can anyone point to any discussions about table headers and table bodies
> and how to deal with having a fixed header and a scrollable body?
>
> I've done a number of searches but might not be using the right terms to
> unearth any previous discussion in this regard.
>
> The idea is a quite common situation in software interfaces of all kinds
> where the headers will always be visible while the table rows (table body)
> will scroll.

The only way I found to do this is to have two tables, fixed cell widths, overflow hidden, and textOverflow ellipsis. There is additional CSS to get the two tables to look like one.

--
Cheers  --  Tim
Received on Monday, 2 April 2012 03:42:00 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 30 January 2013 18:48:07 GMT