PHP

Build a CSS Stylesheet Theme Switcher with PHP

by Dean Hamack

January 22nd, 2009

In this article, we’ll show you how to add a “CSS Theme Switcher” to your site which allows users to select a theme from a pulldown menu and apply it with the press of a button. It’s unobtrusive, valid, uses no JavaScript, and is great for accessibility (or just showing off your CSS skills).