W3C home > Mailing lists > Public > www-style@w3.org > January 2003

[CSS 2.1] 'margin-...' in properties index

From: Christian Roth <roth@visualclick.de>
Date: Tue, 21 Jan 2003 20:58:17 +0100
To: "www-style Mailing List" <www-style@w3.org>
Message-Id: <20030121195817.27344@mail.visualclick.de>

Hello,

in the properties index for CSS 2.1 [1], there are no restrictions for
the 'margin-...' properties in the "Applies to" column. Yet, in "17.5
Visual layout of table contents" [2], it says that "Cells have padding as
well. Internal table elements do not have margins."

Shouldn't there be a note for the 'margin-...' properties in the
properties index that they do not apply to "internal table elements"? Is
being an "internal table element" synonymous with having one of the
'display' property values 'table-row-group', 'table-header-group',
'table-footer-group', 'table-row', 'table-column-group', 'table-column',
'table-cell' set?

If yes, am I correct in assuming that in any table that follows the HTML
table model, <tr> and <td> elements can never have margins set?

Regards, Christian.

References:
[1] <http://www.w3.org/TR/2002/WD-CSS21-20020802/propidx.html>
[2] <http://www.w3.org/TR/2002/WD-CSS21-20020802/tables.html#q7>
Received on Tuesday, 21 January 2003 14:58:53 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:19 GMT