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

RE: Inheritance of alignment for TD

From: Jason Rastrick <jason.rastrick@ananova.com>
Date: Fri, 19 Oct 2001 08:40:27 +0100
Message-ID: <73AC245CA75C0F4581D33517483544D51B70C6@conwy.leeds.ananova.internal>
To: <www-html@w3.org>
Hi All,

I was hoping for a response to this posting too, we have the same issue and
was hoping the W3C could shed some light on this MS "feature".

The obvious recourse for a fix would be to specify :

td {text-align:left}

in a CSS for the page, but this shouldn't be needed if IE adhered to some
sort of *standard*.

Thanks for your time.

Regards,
____________________________________________
Jason M. Rastrick
Senior New Media Developer
New Media Services, Ananova Limited.

http://www.ananova.com
http://wap.ananova.com

The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material.  Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited.  If you receive
this in error, please contact the sender and delete the material from any
computer.
`,,``,,``  

-----Original Message-----
From: Dennis Lundberg [mailto:dennis.lundberg@mdh.se]
Sent: 19 October 2001 07:46
To: www-html@w3.org
Subject: Inheritance of alignment for TD


I posted this a week ago, but nobody answered it, so I'll try to explain 
myself a bit clearer...

If I have understood the specification correctly, the alignment of a TD 
should be (in order):
1. Any ALIGN attribute specified in the TD tag
2. Any ALIGN attribute specified in the surrounding TR tag
3. Any ALIGN attribute specified in the surrounding TABLE tag

Most importantly TD should *not* inherit the ALIGN attribute from any tag 
outside it's own TABLE. Instead if none of the above applies it should use 
the default alignment which is LEFT.

Can anyone verify that this is correct?

In the examples found at the adress below, the red table-cells should be 
aligned to the left. Is that correct?
http://www.mdh.se/ie6.html


The specification I refer to is:
http://www.w3.org/TR/html401/struct/tables.html#alignment
under the heading "Inheritance of alignment specifications"


-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Dennis Lundberg, Head of Development, IT-department
e-mail: dennis.lundberg@mdh.se
Mlardalens University, PO Box 883, SE-72123 Vsters, SWEDEN 
Received on Friday, 19 October 2001 03:40:13 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:49 GMT