Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2

Thread: CSS alternate

  1. #1
    New to the CF scene
    Join Date
    Feb 2009
    Thanked 0 Times in 0 Posts

    CSS alternate

    Hi can anyone help,

    I am looking to generate CSS code for a site that will allow the site to use 7 different fonts but at random.

    so, each time a user visits the site it will look the same, same color theme, same layout, just different font.

    can anyone suggest how this might work?


  • #2
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    In a place far, far away...
    Thanked 1,043 Times in 1,019 Posts
    You can use javascript or php. With php it wouldn't matter if javascript was disabled or not. It also requires that your server actually supports php. Most servers do. Let us know what you prefer. Also have you tried anything yet? Its always good when you actually try something rather than expecting someone to just give you code.
    ||||If you are getting paid to do a job, don't ask for help on it!||||


    Tags for this Thread

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts