Internal color of a radio button

L

Larry Bud

Not sure if this is the best place to post this, but can I set the
internal color of a radio button? Basically the background color
inside the circle.

TIA!
 
D

David Dorward

Larry said:
Not sure if this is the best place to post this, but can I set the
internal color of a radio button? Basically the background color
inside the circle.

CSS background property. Browser support is variable (but generally weak).
 
L

Larry Bud

David said:
CSS background property. Browser support is variable (but generally weak).

The background color I get is the color BEHIND the radio button, and
not in it.
 
A

ASM

Larry Bud a écrit :
The background color I get is the color BEHIND the radio button, and
not in it.

to color a radio button (if browser accept to and they are very fiew)
use
radioButton.style.color
insteed of
radioButton.style.backgroundColor

think it works with IE (at least)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,043
Latest member
CannalabsCBDReview

Latest Threads

Top