W3C home > Mailing lists > Public > www-style@w3.org > March 2006

Re: overflow:scroll and tables

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Wed, 08 Mar 2006 15:58:31 -0600
Message-ID: <440F5387.3080707@mit.edu>
To: Adam Kuehn <akuehn@nc.rr.com>, www-style@w3.org

Adam Kuehn wrote:
> One technical reason is that the overflow property does not apply to 
> tables.

Why not?  Tables are block-level, no?  So per CSS21 it should apply, it 
seems to me.

> However, the real reason appears to be that UAs (well, OK, Firefox - I 
> didn't take the time to conduct universal testing) ignore all overflow 
> values on any display: table* objects, even table cells, to which the 
> property is supposed to apply.

Actually, overflow:hidden does work when the cell actually overflows. 
It just takes effort to get that to happen (eg "table-layout: fixed").

-Boris
Received on Wednesday, 8 March 2006 22:00:36 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:44 GMT