New Revised CSS Library Forums Web Tools
FAQs Awards Usage Terms Contact

<link rel="stylesheet" type="text/css" href="default.css" />
<link rel="alternate stylesheet" type="text/css" media="screen" title="blue-theme" href="user.css" />
<link rel="alternate stylesheet" type="text/css" media="screen" title="brown-theme" href="user2.css" />

<script src="styleswitch.js" type="text/javascript">
* Style Sheet Switcher v1.1- Dynamic Drive DHTML code library (
* This notice MUST stay intact for legal use
Visit Dynamic Drive at for this script and 100s more

<script type="text/javascript">
window.onload=function(){ //check radio button corresponding to currently applied alternate style sheet, if any
var formref=document.getElementById("switchform")


<form id="switchform">
<input type="radio" name="choice" value="none" onClick="chooseStyle(this.value, 60)">Default style<br />
<input type="radio" name="choice" value="blue-theme" onClick="chooseStyle(this.value, 60)">Blue Theme<br />
<input type="radio" name="choice" value="brown-theme" onClick="chooseStyle(this.value, 60)">Brown Theme