Re: [HTML4 Tables] cell width, column width
Ian Hickson <[email protected]> Mon, 6 Feb 2012 21:15:04 +0000 (UTC)
| Newsgroups | gmane.comp.web.html.general |
|---|---|
| Message-ID | <[email protected]> |
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. `._.-(,_..'--(,_..'`-.;.'