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

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?

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

Received on Tuesday, 10 April 2001 11:26:48 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 13 October 2015 16:21:12 UTC