W3C home > Mailing lists > Public > www-html@w3.org > February 2012

Re: [HTML4 Tables] cell width, column width

From: Ian Hickson <ian@hixie.ch>
Date: Mon, 6 Feb 2012 21:15:04 +0000 (UTC)
To: Christian Roth <roth@visualclick.de>
cc: www-html@w3.org
Message-ID: <Pine.LNX.4.64.1202062112400.13116@ps20323.dreamhostps.com>
On Fri, 3 Feb 2012, Christian Roth wrote:
> 
> this question refers to 
> <http://www.w3.org/TR/html4/struct/tables.html#h-11.2.6>
> 
> 1. What does the width attribute on a TD refer to? Is it
> 
> - the center border edge width of the cell?
> - the inner border edge width of the cell?
> - the inner padding edge width of the cell?
> 
> Does it include half of the cell spacing, if specified? And if so, how 
> are the corner cases first cell/last cell in a row handled?
> 
> 2. Does the width attribute on COL/COLGROUP refer to the same 
> measurement as the width attribute on TH/TD elements?
> 
> If you could point me to the place in the HTML 4.01 spec where this is 
> defined, that would be greatly appreciated.

HTML4 doesn't define this.

This section of the contemporary HTML spec (which obsoletes HTML4) may be 
of more help:

   http://whatwg.org/html#tables

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Monday, 6 February 2012 21:18:20 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:16:20 GMT