RE: !important

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 UTC