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

--- Bert Bos <bert@w3.org> wrote:
> 
> Christian Roth writes:
> 
> > 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?
> 
> That's correct, margin does indeed not apply to any
> table elements,
> apart from the table itself and the caption.
> 
> It might indeed be better to have a note to that
> effect in the
> "applies to" column.
> 

This is probably off-topic but... does that mean there
is no way of expressing the cellspacing/cellpadding
attributes of <table> in css ?

<table cellspacing="5" cellpadding="7">
<tbody>
<!-- rows and columns and everything you can think of
-->
</tbody>
</table>

__________________________________________________
Do you Yahoo!?
Yahoo! Shopping - Send Flowers for Valentine's Day
http://shopping.yahoo.com

Received on Saturday, 15 February 2003 10:56:09 UTC