PHP Styleswitcher, version 2

Example page

This page shows how the styleswitcher works, as well as giving an example for how multiple styles can be changed. This page has five stylesheets. They break done like this:

  1. basic.css - This stylesheet is set up as "static" which means it is always present.
  2. blue.css - The first of the "visual" aspects of this page (the default blue theme).
  3. green.css - The second theme.
  4. small.css - The default font size.
  5. large.css - A larger font stylesheet.

The stylesheets, except for the "basic.css" file, are broken into two sets: fonts and style.

You do not have a style cookie set for this page.

View source


Use this form to change the style of this page:

Font Style:


Page Style:



Copyright © 2003 Rob Ballou. All Rights Reserved.
Last updated: September 09, 2007 13:46

This page's CSS and XHTML validate. Does yours?