[thelist] Colored checkbox's

MRC webmaster at equilon-mrc.com
Fri Nov 30 15:54:53 CST 2001


Bob,

> I'm trying to apply a color in a checkbox by using
STYLE="background-color:
> #FF9900;"
>
> This works fine in the text boxes but all it's doing for the checkbox is
> making the outer perimeter of the box this color. Am I applying the wrong
> statement to the check box? I would appreciate a point in the right
> direction.

    No, this is due to IE's messy implementation of style sheets on certain
form elements. If you really have to get your checkbox to look a certain
way, you may need to make a graphic of it and use scripting to change how it
looks and acts. However, this will take you a step down on the
usability/accessibility scale since it will require that scripting be
enabled for the form element to work.
    Best bet, IMO: forget about styling checkboxes and radio elements. And
use caution when styling select elements.

James Aylard





More information about the thelist mailing list