Inheritance of alignment revisited

Hi there

I've done some more research if this area and have a few questions.

The specification says
   http://www.w3.org/TR/html401/intro/sgmltut.html#h-3.3.4

"Whether the default value of the attribute is implicit (keyword 
"#IMPLIED"), in which case the default value must be supplied by the user 
agent (in some cases via inheritance from parent elements)"

Question 1:
Is it up to the user agent to choose when to provide a default value and 
when to inherit from parent elements?

Question 2:
It seems that IE6 inherits from a parent element when there is a parent 
that has an explicit alignment set. It uses align="left" when there is no 
element to inherit from. Is this a correct behaviour according to the spec?

Question 3:
This might be slightly off-topic. If I put this line in my stylesheet
   td { text-align : left; }
then all TD:s are left aligned, even the ones that have an align="right" 
attribute set. Is it the correct behaviour that CSS overrides 
align-attributes in the HTML-code?

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Dennis Lundberg, Utvecklingsledare, IT-avdelningen
e-post: dennis.lundberg@mdh.se
http://www.mdh.se/servlet/VisaPerson?fornamn=Dennis&efternamn=Lundberg
tel: +46-(0)21-101516, fax: +46-(0)21-101636
Mälardalens högskola, Box 883, SE-72123 Västerås, SWEDEN

Received on Tuesday, 30 October 2001 05:09:56 UTC