W3C home > Mailing lists > Public > www-style@w3.org > February 2007

Re: specificity, user style sheets and SVG

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Thu, 08 Feb 2007 11:19:47 -0600
Message-ID: <45CB5BB3.2080205@mit.edu>
To: Jonathan Chetwynd <j.chetwynd@btinternet.com>
CC: www-style@w3.org, SVG List <www-svg@w3.org>

Jonathan Chetwynd wrote:
> How can a user style sheet override authors use of style attribute with ID?

By using !important rules.

> I found this unintelligible:
> 6.17 User agent style sheet
> http://www.w3.org/TR/SVG/styling.html#UAStyleSheet

Please see <http://www.w3.org/TR/CSS21/cascade.html#cascading-order> item 2 and 
<http://www.w3.org/TR/CSS21/cascade.html#specificity>.  That's linked to from 
the section you quote, by the way.

Received on Thursday, 8 February 2007 17:19:59 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:27 UTC