![]()
This JavaScript and CSS code allows you to use your own images instead of the default browser input elements for HTML checkboxes, radio buttons and select lists. This gracefully degrades if JavaScript is disabled.
Just add class=”styled” to any checkbox, radio button or select list.
To get the checkboxes, radio buttons and select boxes to work properly, you'll need to change three variables in the script: checkboxHeight, radioHeight and selectWidth on lines 21-23. If you use the images I created, you won't have to…










