The Lodge is members-only design/dev videos and Office Hours.

Next Office Hours Session: "Implementing an SVG Icon System" Nov 30 - 6:00 PM Eastern

How to make a Fluid to Fixed Button?

  • # June 2, 2008 at 3:30 pm

    I found this website… 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

    This reply has been reported for inappropriate content.

    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

    This reply has been reported for inappropriate content.

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


    # June 3, 2008 at 10:06 am

    I’d like to tip you of Juicy Studio’s styleswitcher: – 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.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed