PDA

View Full Version : alternate style sheets?



salvador marley
April 26th, 2006, 09:15 AM
I am looking into making two style sheets that a user can choose - the first one would have paragraph text set at 12 pixels and the second stylesheet would have paragraph text set at say 16 pixels. So in my html page I could have two links - one saying "click here for normal size text", and another link saying "click here for large text"

Simple as that. But i read through this tutorial:
http://www.alistapart.com/stories/alternate/ (http://www.alistapart.com/stories/alternate/)

I simply cannot get this to work - I downloaded the javascript file and tried to follow along but when i test this in the browser, nothing happens.

Can you help me on this one?

Thank you.

chrisclick
April 26th, 2006, 09:20 AM
try not to post twice ;)

JoshuaJonah
April 26th, 2006, 09:33 AM
lol.... you got n00bd!

salvador marley
April 26th, 2006, 11:34 AM
Thanks the who :)

Oh it posted twice - thats because i thought the first post hadn't worked because i got an error message when i tried the first post - not like me double posting :)

chrisclick
April 26th, 2006, 03:57 PM
lol

salvador marley
April 26th, 2006, 04:03 PM
Thanks Chris - the welsh wizard of Kirupadom. :)

I did sort this out by the way - just posting to save people wasting time trying to figure it out.

god bless you all - oh now i'm rambling.

salvador marley
April 27th, 2006, 07:11 AM
Thats great the who :)

its good to have an example in the forums and then if anyone does a search for this topic they can just download the file and take a look.

Cheers