Re: Style sheets for access

[Charles McCathieNevile]
> It seems that a solution may be to reexamine the CSS rules. If these
> allowed greater weight for reader's rules than those of the author,
> and provided a mechanism where a reader could make general
> declarations but artificially raise their specificity, the problem
> may disappear.
> 
> As an example, if I could declare, in my reader screen styles that
> H1 should be color:purple size:massive, and that this declaration
> was to be regarded as having the specificity of an H1 with a
> particular id and class attribute, it seems that the problem would
> go away. I have ignored the problem of author/reader precedence for
> the example. But that should be easily soluble.

Indeed, it already has been.  A rule can be declared as !important,
meaning that it takes precedence over everything else, except more
specific rules also marked !important.  See 7.1.1 of CSS2.

-Chris
-- 
<!NOTATION SGML.Geek PUBLIC "-//Anonymous//NOTATION SGML Geek//EN">
<!ENTITY crism PUBLIC "-//O'Reilly//NONSGML Christopher R. Maden//EN"
"<URL>http://www.oreilly.com/people/staff/crism/ <TEL>+1.617.499.7487
<USMAIL>90 Sherman Street, Cambridge, MA 02140 USA" NDATA SGML.Geek>

Received on Thursday, 4 December 1997 19:49:45 UTC