I have a set of radio buttons in a table cell. The background color of the table cell is different from the background of the page.
Based on another input, I sometimes turn off one or more switches. When disabled, the inside of the switch accepts the background of the table cell. The color scheme colors a bit. This combines to make the button look like it has βdisappearedβ. A closer inspection reveals that he is still there.
I am trying to define a CSS entry to change the appearance of a disabled switch ... can this be done? I am currently doing something like this:
.radio { background-color: #FFFFFF; } .radio:disabled { background-color: #FFFFFF; }
Will I have to resort to images?
UPDATE This is not a background problem, but the inside of the button. When disabled, the inside of the button takes the background color of the table cell ... oh, here's the idea. I change both the table cell and the switch.
source share