[whatwg] Tables, headers and bodies

Tim Streater tim at clothears.org.uk
Mon Apr 2 03:42:00 PDT 2012


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


More information about the whatwg mailing list