Helpful Information
 
 
Category: HTML & CSS
coloring a radio button

Hi all

I'd like to manipulate the look of a radio button using a style sheet.

I know that I can edit the background-color, but would like to know if its possible to edit the other elements of the button? Ie., the border, inner-background and black dot which appears on selection?

Thanks for your help!

aside from background-color, i only know these...

style="border:4px outset silver;height:50px;width:50px"

width and height work fine...

I'm really not sure that you can manipulate the innercolour or dot colour of a radio button (or checkbox)

If you see this anywhere on the web, view the source code and see how they do it... then post the URL here so we can see it ;)


~Quack

i think you can d it for a checkbox but not a radio

you could make your own.

http://www14.brinkster.com/iitestii/checkbox.htm

Good idea but it would be a bit complicated to use that in a form to pass some info though...

You can do it in Gecko-based browsers, but not IE. Take a look at some of the CSS examples in the Debug menu to see what I'm talking about.

It wouldn't be that hard

http://www14.brinkster.com/iitestii/checkbox.htm










privacy (GDPR)