Disabling a style sheet

Soldato
Joined
25 Jan 2003
Posts
11,550
Location
Newark, Notts
I know you can select an option in Firefox to turn off style sheets. But is there code that will do this so that a user can click a link to turn it off? Searched Google without much luck :/
 
Right well I've already got a style switcher. What I've just decided to do is stick media=print to one of the stylesheet link tags and that seems to work the same! :)
 
To "disable" style sheets you just have a link to a blank style sheet - using media=print will work but is not the best as if someone who has poor eyesight wants to print off the page (when they are viewing the media=print stylesheet) they will suddenly get all the styles back!
 
Back
Top Bottom