CSS and disabled objects in MSIE -
11-29-2005
, 12:21 PM
If I create two buttons, like this:
<input type="button" value="An enabled button" style="font-size:40px;
color:#a0a094; background:#d2d2c6;" />
<br /><br />
<input type="button" value="A disabled button" disabled
style="font-size:40px; color:#a0a094; background:#d2d2c6;" />
.... the text in the disabled button will get a different font color
than the one in the enabled button if I view the HTML page in Internet
Explorer. Is there any CSS attribute I can apply to the disabled button
to make font identical to that of the enabled button? (I'm especially
interested in removing the white drop shadow). Neither Firefox nor
Opera changes the font like this, so I'm guessing it's IE specific?
Oh, and it applies to DIVs TDs etc too, not just buttons.
Very annoying.
Brgds,
Niklas Uhlin |