css - Change disabled input text text color in Opera -


tried find answer, guess search skills needs makeover. anyways:

i doing styling text field (input) when it's disabled. i'm making background dark gray , font color white. works (safari needed -webkit-text-fill-color property in addition color: white;) - but opera not listening me!

no matter do, it, , how it, font color still pretty dark gray (which assume standard color). if remove disabled-attribute, works perfectly.

excerpt of css styling disabled style:

#customernumbersearch[disabled="disabled"], #customernumbersearch:disabled {     color: white;     -webkit-text-fill-color: white; } 

so, how change font color of disabled input field in opera?


edit - alternative solution: problem can circumvented changing out disabled-attribute readonly. has side effects, however, make sure works you. nice side effect fixes problem in <= ie9

try

input[disabled] { color: red;} 

Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -