CodingForums.com

CodingForums.com (http://www.codingforums.com/index.php)
-   HTML & CSS (http://www.codingforums.com/forumdisplay.php?f=13)
-   -   coloring a radio button (http://www.codingforums.com/showthread.php?t=653)

nitric 06-24-2002 09:27 AM

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!

glenngv 06-24-2002 11:58 AM

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

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

QuackHead 06-24-2002 03:20 PM

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

whackaxe 06-24-2002 03:44 PM

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

landon11 06-24-2002 05:31 PM

you could make your own.

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

Flamerule 06-24-2002 05:35 PM

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

jkd 06-24-2002 06:13 PM

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.

landon11 06-24-2002 07:01 PM

It wouldn't be that hard

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


All times are GMT +1. The time now is 10:41 PM.

Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.