...

View Full Version : changing the color of disabled text inputs



Vermelh0
11-14-2002, 05:23 PM
How can I change throught CSS styles the color of my text inputs if they are disabled?
I'm marking all my disabled text inputs with a grey color, but it's almost impossible to read the text out of that, as IE 6.0 automatically changes the text color of any disabled inputs into a dull grey.
Thanks,
V

chrismiceli
11-15-2002, 12:38 AM
i don't think you can do that, but you might want to try this


<input type="text" value="" name="test" readonly="true">

now the people can clearly read it but not mess with it.

jkd
11-15-2002, 12:47 AM
input[disabled] {
/* bla */
}

Or perhaps:

input:disabled {
/* bla */
}

Should do the trick in Moz.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum