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

>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