W3C home > Mailing lists > Public > w3c-wai-ig@w3.org > April to June 2005

Re: Inline Style Sheet Question

From: David Woolley <david@djwhome.demon.co.uk>
Date: Tue, 5 Apr 2005 22:58:53 +0100 (BST)
Message-Id: <200504052158.j35LwrJ02507@djwhome.demon.co.uk>
To: w3c-wai-ig@w3.org

> When you say external style sheets allow for alternative style sheets,
> are you referring to a user-defined style sheet? If a website only uses

No.  A document can have multiple named style sheet combinations and
the browser can allow the user to select one of them.  View | Use 
Style Sheet in Mozilla.

Unfortunately there are no standards for the naming, and I don't believe
any browser makes the selection of a name sticky.

> an external style sheet, does that automatically mean that the
> user-defined style sheet will override it?  I tried to test this out by

!important rules in user style sheets (and the style sheets implied
by customisation dialogues in the browser) override all author
styling, regardless of the route.

> creating my own user-defined style sheet.  On sites that only use
> external style sheets I still had a problem overriding all of the
> styles.  Maybe I am doing something wrong?  Any suggestions would be
> helpful.

There is a problem that the overrides have to be at least as selective
as the author's selectors, as well as being !important.
Received on Tuesday, 5 April 2005 21:58:56 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:36:25 UTC