multiple css on one page how to do it

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rodneyystwyth
    New Member
    • Apr 2008
    • 4

    multiple css on one page how to do it

    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
  • eWish
    Recognized Expert Contributor
    • Jul 2007
    • 973

    #2
    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

    Comment

    • harshmaul
      Recognized Expert Contributor
      • Jul 2007
      • 490

      #3
      I agree, either javascript or a serverside language.

      Comment

      • Death Slaught
        Top Contributor
        • Aug 2007
        • 1137

        #4
        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, Death

        Comment

        • rodneyystwyth
          New Member
          • Apr 2008
          • 4

          #5
          Thanks anyway guys i'll try the javascript forum.

          Comment

          Working...