[whatwg] Question Regarding <table> width

WeBMartians webmartians at verizon.net
Tue Jan 29 18:31:46 PST 2008


Arrgh! My mistake; it's late here. Thanks! 

-----Original Message-----
From: whatwg-bounces at lists.whatwg.org [mailto:whatwg-bounces at lists.whatwg.org] On Behalf Of Ian Hickson
Sent: Tuesday, 2008 January 29 21:27
To: WeBMartians
Cc: whatwg at lists.whatwg.org
Subject: Re: [whatwg] Question Regarding <table> width

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.   `._.-(,_..'--(,_..'`-.;.'




More information about the whatwg mailing list