[whatwg] Question Regarding <table> width

Ian Hickson ian at hixie.ch
Tue Jan 29 18:26:35 PST 2008

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