RE: !important

In Microsoft IE Tools | Options | Accessibility. Load up the *.css file and
off you go. The same with Opera and Netscape, just head under preferences.

I've tried this, but it won't work if the folks that wrote the original html
wrote it poorly - you could be applying attributes to html elements that
don't exist.

Joel

-----Original Message-----
From: Fitzgerald, Jimmie [mailto:Jimmie.Fitzgerald@jbosc.ksc.nasa.gov]
Sent: Tuesday, April 10, 2001 9:24 AM
To: w3c-wai-ig@w3.org
Subject: 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:39:38 UTC