W3C home > Mailing lists > Public > w3c-wai-ig@w3.org > October to December 2002

Re: CSS optimised for different browsers

From: Matthew Smith <matt@kbc.net.au>
Date: Sat, 16 Nov 2002 20:42:03 +1030
Message-ID: <3DD619F3.2000304@kbc.net.au>
To: WAI-IG <w3c-wai-ig@w3.org>

Hi John

> I'm aware that I've painted myself into an accessibility corner here, but
> I'm wondering whether it is possible to have the page load a simple default
> CSS, then somehow detect the browser and load the alternative CSS optimised
> for IE if applicable (and would that be an acceptably accessible solution)?.
> I don't have access to any server side technology. Can anyone advise ?

Do you have access to any server-side scripting (CGI)?  The usual way 
would be to do something in JavaScript, but I think that it's probably 
not wise to make the assumption that the client a) has it and b) it 
actually works as it's meant to; server-side scripting eliminates any 
dependency on the client's browser - I write in Perl and my external 
style sheet is actually a Perl programme that can be fed parameters, 
like what browser you are dealing with, etc.

Hope this helps; if you want nitty gritty details of this, please feel 
free to contact me either on or off list.

Cheers

M

-- 
Matthew Smith            | Business: http://www.kbc.net.au
IT Consultant            | PGP Key:  http://gpg.mss.cx
Kadina, South Australia  | * Tivis Project * Community Connect *
Received on Saturday, 16 November 2002 05:12:17 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 19 July 2011 18:14:07 GMT