![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
radio button is a hollow circle for unchecked and filled black circle for checked |
|
I would like use two images jpeg or gif for unchecked and checked. |
|
I try CSS by input[type="radio"] { background-image: url(myimage.gif); background-repeat: no-repeat; background-position: right center; } input[type="checkbox"] { background-image: url(myimage.gif); background-repeat: no-repeat; background-position: right center; } But they are not work. |
#3
| ||||
| ||||
|
|
"RC" <raymond.chui (AT) noaa (DOT) gov> wrote: radio button is a hollow circle for unchecked and filled black circle for checked Perhaps on the browsers you've used. That means this is how you recognize an element as a radio button. Is there some urgent need to mess this up |
|
I would like use two images jpeg or gif for unchecked and checked. Just stop wanting that. |
|
I try CSS by input[type="radio"] { background-image: url(myimage.gif); background-repeat: no-repeat; background-position: right center; } input[type="checkbox"] { background-image: url(myimage.gif); background-repeat: no-repeat; background-position: right center; } But they are not work. Fine. Perhaps that's because so few browsers support attribute selectors, but that's rather irrelevant. |
|
Phil Howard KA9WGN | http://linuxhomepage.com/ http://ham.org/ | (first name) at ipal.net | http://phil.ipal.org/ http://ka9wgn.ham.org/ | ----------------------------------------------------------------------------- |
#4
| |||
| |||
|
|
By default the radio button is a hollow circle for unchecked and filled black circle for checked similar for the check box button is a hollow square for unchecked and check symbol for checked. I would like use two images jpeg or gif for unchecked and checked. |
#5
| ||||||
| ||||||
|
|
| Perhaps on the browsers you've used. That means this is how you recognize an | element as a radio button. Is there some urgent need to mess this up Maybe he's going to improve on it. |
|
I have not seen it, so I'll reserve judgement on it. |
|
|> I would like use two images jpeg or gif for unchecked |> and checked. | | Just stop wanting that. Bad answer. |
|
That answer needs to stop being given. |
|
If what someone wants _can_ be done, tell them how or shut up. |
|
| Fine. Perhaps that's because so few browsers support attribute selectors, | but that's rather irrelevant. Why would it be irrelevant if some browsers don't support it? |
![]() |
| Thread Tools | |
| Display Modes | |
| |