I think your requirements may be a bit confused.
I would suggest you look at two articles
1. backwards compatible style switcher
http://www.alistapart.com/articles/n4switch/
2. zoom layout by Sir Joe Clark
http://www.alistapart.com/articles/lowvision/

Joe tells you why it's a good idea to create an alternate style sheet
that is single column, stark, and full of contrast. You could use this
theory to switch your user to a simplified style sheet that still
maintains some control 

The style switcher is the script that you are looking for. It's the
"disable css" button. If you really want to turn off css, just have it
switch to an empty css file.

Ted


-----Original Message-----
From: li...@webstandardsgroup.org [mailto:li...@webstandardsgroup.org]
On Behalf Of Oliver Boermans
Sent: Friday, January 22, 2010 1:54 PM
To: wsg@webstandardsgroup.org
Subject: Re: [WSG] CSS off button

Hi Kevin

On 23 January 2010 06:52, Erickson, Kevin (DOE)
<kevin.erick...@doe.virginia.gov> wrote:
> Could anyone please tell me if there is a right way to put a clickable
> button in a web page that will turn off all CSS?

Why do you want to switch off CSS?
Reasons aside, the simplest method that jumps to my mind is to use an
empty alternate stylesheet and some JavaScript to switch between it
and the default [presuming you have all your style in the one external
CSS file].

This rather old article explains the concept
http://www.alistapart.com/articles/alternate/

If you have the option, a server-side approach as Paul suggests would
be more reliable as it would work without JavaScript.

Comes back to why!?

Hope that helps
Ollie


*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
*******************************************************************



*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
*******************************************************************

Reply via email to