Grow your CSS skills. Land your dream job.

How to make a Fluid to Fixed Button?

  • # June 2, 2008 at 3:30 pm

    I found this website…http://evil.che.lu/ and i saw that you can change how wide your theme could go. How do they set it up with buttons.

    # June 2, 2008 at 6:09 pm

    You can do it with a little javascript. Just let it load some other styles or change the classes of the parts you want to change…

    # June 2, 2008 at 7:57 pm

    take a look at User-Switchable Stylesheets in the Downloads area of this site,
    an example of this technique is shown there.

    Al

    # June 3, 2008 at 10:06 am

    I’d like to tip you of Juicy Studio’s styleswitcher: http://juicystudio.com/index.php – click on the Switch to High Contrast-link in the menu. This also works without any scripts, as it’s using PHP with cookies (I presume) to check for user-style-setting.

    You could use something like that where the user could click to get different text-sizes (through different stylesheets). A List Apart also has an old article about creating your own style switcher.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".