By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,396 Members | 1,869 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,396 IT Pros & Developers. It's quick & easy.

Is Possible to alter the "disabled" style?

P: n/a
Hi,

Is Possible to alter the "disabled" style?

I have got

<input name="test" value="1" disabled>

This makes the input field gray and shadow.

Is it possible to alter the style so that I can define how the disabled is shown?

Morten
Jul 20 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Kruse wrote:
<input name="test" value="1" disabled> Is it possible to alter the style so that I can define how the disabled is
shown?


Theory:

input[disabled] { }

Practise:
Won't work in MSIE (boo hiss evil Microsoft).
Untested in other browsers (most support attribute selectors, I don't know
about styling of disabled form elements).

--
David Dorward <http://dorward.me.uk/>
Jul 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.