W3C home > Mailing lists > Public > www-html@w3.org > October 2001

Re:Re:[2] Inheritance of alignment for TD

From: Jesse McCarthy <mccarthy36@earthlink.net>
Date: Sun, 21 Oct 2001 08:27:15 -0400
To: www-html@w3.org
Message-ID: <MWMail.qiogpdhk@host.none>
>That was what I was afraid of...
>In this case the DTD rules and the comment
>  "This is the default value for table data."
>should be removed to avoid confusion in the future.
>I guess I'll have to put in a defult alignment for TD's in my stylesheet
>after all.

Yes it should certainly be removed.  The specification just leaves it so open 
that in your situation you have no choice but to do that because you aren't 
going to be able to rely on any particular "default" behavior. 

>If there are no surrounding tags IE6 does what it should, or at least what
>browsers have been doing since the last ice-age:
>  TD's without an ALIGN attribute are aligned to the LEFT
>But when there is a tag that has an align="center", and that tag surrounds
>the TABLE of the TD with no alignment, the TD inherits the align="center"
>from the surrounding tag and is center-aligned.

Ok, I understand.
Received on Sunday, 21 October 2001 08:33:10 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:05:58 UTC