EntropySink

Technical & Scientific => Programming => Topic started by: ygfperson on May 10, 2005, 03:36:40 PM

Title: css question
Post by: ygfperson on May 10, 2005, 03:36:40 PM
is there a way to have a web page change its stylesheet through an option in that page without needing a server-side tool like php?
Title: css question
Post by: ober on May 10, 2005, 03:49:11 PM
I'm sure you could do it with javascript and document.write.
Title: css question
Post by: aran on May 10, 2005, 03:59:22 PM
search google for it. it's actually quite easy to do. I've done it before...

here's the page i did it to: http://lskbz7l.linuxclass.marist.edu/assignment7.html
Title: css question
Post by: ygfperson on May 10, 2005, 07:41:30 PM
it works on firefox but not in internet explorer... ideas?

//edit: is there a way to use cookies to make this change relatively permanent and used on more than one web page?
Title: css question
Post by: Mike on May 10, 2005, 09:16:14 PM
Probably because IE is the suck.