Does anyone know the code to have multiple css sheets on one website? Could you give me the exact code for xhtml to make it work. I have a drop down list with the options of different style sheets available, and the different style sheets written. I just need to know how to make it so that when you choose an option from the dropdown menu it changes the style sheet. Also if you know how to write a cookie to remember what style sheet the user chose that would be great. Thanks
multiple css on one page how to do it
Collapse
X
-
Tags: None
-
Google for Change Style Sheets. I believe that this is likely going to involve some JavaScript. Then if you have any questions please post back in the appropriate forum.
--Kevin -
You can use JavaScript to disable/enable certain stylesheets (if that's what you
re looking for), and I find it works slightly better than using a server-side language.
Thanks, DeathComment
-
Comment