Re: Table row padding erratum

David Baron wrote:
> On Mon, 7 Feb 2000 04:02:08 -0800 (PST), Matthew Brealey
> (thelawnet@yahoo.com) wrote:
> >
> > <blockquote
> > cite="http://www.w3.org/TR/REC-CSS2/tables.html#collapsing-borders">
> > Note that in this model, the width of the table includes half the
table
> > border. Also, in this model, a table doesn't have padding (but does
have
> > margins).
> > </blockquote>
> >
> > This should also state that rows cannot have padding in the collapse
> > border model either - the implication by the absence of a statement on
the
> > subject is is that they can; if this implication is followed, the
> > collapsed border model is ruined because borders do not necessarily
adjoin.
> 
> Section 17.6 of CSS2 clearly defines the formatting model in the two
> border models, 

Evidently not clearly enough, because you have missed several statements
that contradict your view.

> and neither of these involve the use of padding on any
> table elements other than cells.  

<q cite="http://www.w3.org/TR/REC-CSS2/tables.html#q5">
Tables have content, padding, borders, and margins. 

...

The table and caption boxes retain their own content, padding, margin, and
border areas.... 
</q>

<q>
Like other elements of the document language, internal table elements
generate rectangular boxes with content, padding, and borders. They do not
have margins, however. 
</q>

Except (in respect of collapsed borders):
<q>
Also, in this model, a table doesn't have padding (but does have margins).

</q>

Having stated that table elements can have padding, it contradicts this
for the collapsed borders. Since no such contradiction is made in the case
of rows, the implication is that they are valid, but this would break
collapsing because elements cannot collapse if there is space between the
borders. Note incidentally that there is no problem applying padding to
rows or tables when the border model is not a collapsing one.

=====
----------------------------------------------------------
From Matthew Brealey (http://members.tripod.co.uk/lawnet (for law)or http://members.tripod.co.uk/lawnet/WEBFRAME.HTM (for CSS))
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com

Received on Monday, 28 February 2000 07:46:23 UTC