W3C home > Mailing lists > Public > www-style@w3.org > October 2010

Re: [css3-tables] Allow freeze of table headings similar to Microsoft Excel

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Thu, 14 Oct 2010 16:19:21 -0700
Message-ID: <AANLkTik489AdTgLRX06yew_U+=rGEXMPn5RaHt2P3+4o@mail.gmail.com>
To: "Belov, Charles" <Charles.Belov@sfmta.com>
Cc: www-style@w3.org
On Thu, Oct 14, 2010 at 2:03 PM, Belov, Charles <Charles.Belov@sfmta.com> wrote:
> I would like to see CSS implement table heading freezing, both
> horizontally and vertically, similar to Microsoft Excel.  Available
> JavaScript solutions commonly fail in one way or another and can have
> cross-browser issues.  A search of the www-style archive for table
> freeze brought up only one relevant post, from 2002:
> http://lists.w3.org/Archives/Public/www-style/2002May/0153.html
> Unfortunately, the CSS3 table spec does not appear to be available, and
> the note at http://www.w3.org/Style/CSS/current-work implies there are
> no changes planned beyond documentation.  I am having a hard time
> believing this issue has not come up more than a single post 8 years
> ago.  I do think a CSS solution would be much easier than a JavaScript
> one (not to mention saved bandwidth).

Indeed, a CSS solution should be much easier here.

I talked about this a few months ago in the context of a "sticky"
value for 'position', which would act similarly to relpos, but
automatically adjust the position to keep the element on screen as
long as its parent was on screen.  You could then use this for
<thead>, <tfoot>, and/or the first <th> in each <tr>.

Received on Thursday, 14 October 2010 23:20:13 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:38:39 UTC