[thelist] FireFox doesn't do backgroundColor for checkboxes or radios?

Dave Merrill dmerrill at usa.net
Tue Feb 8 22:22:49 CST 2005


It appears that FireFox 1.0 win doesn't support backgroundColor for
checkboxes or radios. Test snippets:

1. <input type="text" name="x" style="background-color:#f00">
   Red background, as expected.

2. form.x.style.backgroundColor= "blue"
   Field turns blue, as expected.

3. <input type="checkbox" name="x" style="background-color:#f00">
   No background color -- WRONG.

4. form.x.style.backgroundColor= "blue"
   No background color -- WRONG.

Radios act the same as checkboxes. IE6 and Opera75 win both do the right
things, FireFox 1.0 doesn't.

Am I missing something? Any workarounds?

Thanks in advance,

Dave Merrill




More information about the thelist mailing list