[Phpwm] [OT] CSS question

Greg Jones greg.jones at gmail.com
Tue Oct 17 18:06:45 BST 2006


On Tue, 17 Oct 2006 16:28:45 +0100, Phil Beynon  
<phil at infolinkelectronics.co.uk> wrote:

> Is there anyway of controlling via css the graphic used for a radio  
> button
> or is it a browser embedded thing?
> Customer wants coloured ticks instead of dots, and its not something that
> would be easy to do with checkboxes ...great!
>
> Phil

You can't change the actual radio button/checkbox, but if you position the  
actual element somewhere off the page, then you can set the onclick of an  
image (well, two images- ticked and unticked) to toggle the checkbox/radio
If you do the repositioning with javascript on pageload, then anyone with  
javascript disabled will just see the standard elements, while the rest of  
us will see the prettified ones.


Greg

P.S. Has the pastebin been resurrected somewhere else, or is it gone for  
good?



More information about the Phpwm mailing list