This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Stylesheets > November 2005 > CSS and disabled objects in MSIE





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author CSS and disabled objects in MSIE
somefakeaddress@hotmail.com

2005-11-29, 6:52 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

Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews