W3C home > Mailing lists > Public > whatwg@whatwg.org > January 2008

[whatwg] Question Regarding <table> width

From: Ian Hickson <ian@hixie.ch>
Date: Wed, 30 Jan 2008 02:26:35 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0801300226020.3212@hixie.dreamhostps.com>
On Tue, 29 Jan 2008, WeBMartians wrote:
>
> Is
> 	width="0"
> a pathological (error) state for <table>?
> 
> ...and, for that matter, <tr>, <td> and the other tabular tags...
> 
> I may have just missed this, but I don't see any explicit restriction on 
> zero (or negative) widths.

HTML5 doesn't allow the 'width' attribute on <table> at all.


> I wonder if such values could be used to allow browsers to render 
> floating tables: side-by-side tables for large displays and vertically 
> sequenced tables for small ones, such as in mobile devices.

That seems like a presentational issue, which would be best handled by the 
CSS working group.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Tuesday, 29 January 2008 18:26:35 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:00 UTC