W3C home > Mailing lists > Public > w3c-wai-ua@w3.org > July to September 2001

RE: !important

From: Joel Sanda <joels@ecollege.com>
Date: Tue, 17 Jul 2001 08:48:54 -0600
Message-ID: <2FECE9363D811B418C3F282834F172A56DBD12@PIKESPEAK.corp.ecl>
To: "'Wendy A Chisholm'" <wendy@w3.org>, w3c-wai-gl@w3.org
Cc: w3c-wai-ua@w3.org
Opera 5.12 for Windows seems to handle the !important declaration. Opera,
though, can be trickier to test than Netscape or IE because of its
flexibility with style sheets.

I tossed an example up here:
http://www.geocities.com/joelsanda/important.htm.

The example's a bit extreme - the p class is defined as arial, 20em, red,
and declared important. The final paragraph (p.you) (way past the huge red
letters <grin>) is defined as arial, 20em; black.

Opera 5.12 (Windows) will not override the normal p class, but will allow me
to modify the p class with user preferences or by loading an external user
style sheet.

This should conform to CSS Level 1.

Joel Sanda 
Product Manager
-------------------------------------------------------www.eCollege.com
eCollege
joels@ecollege.com
> p. 303.873.7400 x3021
> f.  303.632.1721 


-----Original Message-----
From: Wendy A Chisholm [mailto:wendy@w3.org]
Sent: Monday, July 16, 2001 5:14 PM
To: w3c-wai-gl@w3.org
Cc: w3c-wai-ua@w3.org
Subject: !important


Hello,

Does anyone know if current user agents have implemented !important as 
defined in CSS1 or as in CSS2 - i.e. in CSS1 the author has preference, in 
CSS2 it's the user.	

I'm assuming it's per the CSS1 spec since that is more widely implemented 
than CSS2.

Sorry for the cross-post.  Please provide a reference with your response.

WebReview only shows !important in the CSS1 chart and not the CSS2 list 
(which  they warn is not complete).

Thanks,
--wendy
--
wendy a chisholm
world wide web consortium
web accessibility initiative
seattle, wa usa
tel: +1 206.706.5263
/--
Received on Tuesday, 17 July 2001 10:48:56 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 October 2009 06:50:58 GMT