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

RE: !important

From: Fitzgerald, Jimmie <Jimmie.Fitzgerald@jbosc.ksc.nasa.gov>
Date: Tue, 10 Apr 2001 11:24:07 -0400
Message-Id: <7A6EA5EB9428E04AB3841D1CBB26C5535AB08E@jbosc-vianet1.ksc.nasa.gov>
To: w3c-wai-ig@w3.org
Just how does a user specify a particular style for their browser?

Jim Fitzgerald

-----Original Message-----
From: Jon Hanna [mailto:jon@spinsol.com]
Sent: Tuesday, April 10, 2001 10:44 AM
To: w3c-wai-ig@w3.org
Subject: RE: !important


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> In CSS1, it allows the author to override the user. It is 
> recommended in that
> spec that browsers provide a mechanism for turning off style 
> sheets (this is
> the work-around anyway).
> 
> In CSS2 the cascade order was changed - the following order 
> applies (winners
> first...):
> 
> User !important
> Author !important
> Author other styles
> User other styles
> Browser default
> 

The idea of allowing Author !important to override User !important
wasn't a bad one as such, it was just dependent on the rule not being
abused. Of course everything gets abused in this way.

Does anyone know which order are supported by which browsers in
current use?

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 6.5.3 for non-commercial use <http://www.pgp.com>

iQA/AwUBOtMcPYFpv9f1Mr0YEQI4OQCcD3CEbs2QRKuPve2WiunyIAvrFD4AoLYj
IT7Z3ObCDZ2pjNUzDOsSXSGD
=nQMP
-----END PGP SIGNATURE-----
Received on Tuesday, 10 April 2001 11:26:48 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 19 July 2011 18:13:54 GMT