W3C home > Mailing lists > Public > www-html@w3.org > February 2000

Re: inline CSS (was: is anyone interested in XHTML?)

From: Jan Roland Eriksson <jrexon@newsguy.com>
Date: Mon, 21 Feb 2000 18:27:05 +0100
To: Murray Altheim <altheim@eng.sun.com>
Cc: www-html@w3.org
Message-ID: <5rs2bsor88q9fd2ernu9pdkr8m9vhkf05q@4ax.com>
On Sun, 20 Feb 2000 23:58:01 -0800, Murray Altheim <altheim@eng.sun.com>

>What nonsense. I keep hearing that, but CSS1 and 2 both have *author* as 
>priority, not user, so this runs completely counter to what would help 
>  CSS1: "the author's style sheets override the reader's style sheet"
>  CSS2: "author style sheets override user style sheets which override
>         the default style sheet. "

Just for the record of "correctness"


  CSS1: ua -> user -> author -> user!important -> author!important
  css2: ua -> user -> author -> author!important -> user!important

Effectively 1: author!important styling is redundant in CSS2.

Effectively 2: the C in CSS is a shaky business anyway, mostly
               due to the CDATA type content allowed for the
               CLASS attribute.
              (CLASS attribute values can't be validated)

Jan Roland Eriksson <jrexon@newsguy.com>
Received on Monday, 21 February 2000 12:21:19 UTC

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