W3C home > Mailing lists > Public > www-style@w3.org > September 2002

Re: Style Detection?

From: George Lund <george@lundbooks.co.uk>
Date: Wed, 18 Sep 2002 18:25:44 +0100
Message-ID: <4GOh7eIYcLi9IADz@lundbooks.co.uk>
To: www-style@w3.org

Rick Hill <rrhill@ucdavis.edu> writes
>I would like to ask that browsers be required to report if styles are 
>active or not.  Perhaps through the HTTP header?

This isn't necessary, because even if (CSS) styles are 'turned on', you 
can't know which will or will not have effect.  This is because of the 
cascade with user style sheets, which may or may not include !important 
rules, and because browsers don't necessarily support all of the CSS 
constructs or values you have used.  The latter could be a deficiency or 
because they support a different version of CSS to the one you used - 
there is no way of telling and no practical difference.

>  The guidelines for creating pages that are accessible to the disabled 
>require that pages be usable with styles off.  It would be nice to be 
>able to detect if styles are enabled or not on the client browser and 
>take actions to modify the page as appropriate (server-side is better, 
>client side would be nice, too).

Your pages (in HTML) shouldn't need to be modified because they should 
be accessible *anyway*.  Fortunately this means less work for authors, 
not more!

-- 
Gg
Received on Wednesday, 18 September 2002 13:26:53 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:16 GMT