1 reply [Last post]
Spiffy
Spiffy's picture
Offline
newbie
Tokyo
Last seen: 17 years 40 weeks ago
Tokyo
Joined: 2004-04-22
Posts: 1
Points: 0

I have three style sheets governing the look of my website Simultaneously, one fixed and two controlling colors and font sizes. What I would like to know, is if it is possible to switch one of the later two with a different sheet without effecting the other.

I am relatively new to CSS, but I think I have a firm grip with it. What I am no good with is Javascript or database languages. Its sad really.... I try though. Please excuse my intrusive tone (its not intentional), and my baad speling. Thank you oh so much.

co2
co2's picture
Offline
Leader
UK
Last seen: 13 years 41 weeks ago
UK
Joined: 2003-09-17
Posts: 721
Points: 0

Multiple style sheets

Do you mean to allow the user to switch styles (based on your stylesheets)? If so, checkout this styleswitcher tutorial at ALA: http://www.alistapart.com/articles/n4switch/

There are a few on there, but this one I think is the regular one (there's a PHP one as well). This one utilises javascript. It's related to this one, which was the original: http://www.alistapart.com/articles/alternate/

The next sentence is true. The previous sentence is false. Discuss...