homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / CSS
Forum Library, Charter, Moderators: not2easy

CSS Forum

I wont to be able to change css with a single click
for example change size of letter size on a web

 3:33 pm on Apr 11, 2003 (gmt 0)

I am sure I have seen this somewere, adn it was a great idea.

Any pointers?



 4:07 pm on Apr 11, 2003 (gmt 0)

Sure, Alistapart, wired.com and alltheweb to name three resize fonts with a styleswitcher.
Alistapart has two articles on it, and we've discussed it here before, only I can't find the thread. It couldn't have been more than two weeks ago, and it documented asp [roselli.org] / php [alistapart.com] and js [alistapart.com] versions of css changers/styleswitchers.

I don't know much about it frankly. There were some simple php instructions for random and daily changing styles in the previous discussion, if someone can root it out.


 4:27 pm on Apr 11, 2003 (gmt 0)

thats great thank you!


 4:28 pm on Apr 11, 2003 (gmt 0)

The most-used styleswitching technique (based on what I've seen and I've really looked) is the one that's featured in an article by Paul Snowden in AListApart.
You can see it in action at the devedge netscape site as well.
It uses the W3C HTML 4.01 Recommendation regarding "alternate stylesheets" to download one or more stylesheets along with the document and then allows you to activate one at time using a javascript "switcher".

There are other ways to switch stylesheets, as well.
Check out thread
for an explanation of at least one of them.

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / CSS
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved