On Wed, Sep 17, 2008 at 9:02 AM, Philippe Wittenbergh wrote:
>
> Apparently, Opera 9.5, 9.6b (and older ones ?) fail to inherit the
> {text-align:left}  declared on a rule  in one of the parent divs
> (#container), as it should [1].
> What you see is the default centre-alignment for the content of a th.
>
> [1] text-align inherits
> <http://www.w3.org/TR/CSS21/text.html#propdef-text-align>


This makes me wonder how the "normal" th's behavior can fit the CSS spec.
If a browser had a default sheet containing
  th { text-align: center }
like the spec mentions, then a different text-align on a parent could
not override it.
Instead this overriding usually happens (expect in this particular
case in Opera), so it is more like th had center as "initial" value of
text-align. But the spec does not mention this.


Bruno

-- 
Bruno Fassino http://www.brunildo.org/test
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to