PDA

View Full Version : IE problem with textfield color


pbaccari
11-16-2007, 05:57 AM
Hello,

I have a disabled textField with option "disabledClass" which is defined by this :

.textfield-normal-right{
color: black;
border:0px none;
background: transparent;
font-size: 10pt;
text-align : right;
}

The CSS work correctly with FF, but with IE, color stays gray gray gray !!!
The other items (border ...) work fine with both (IE and FF).

What is the problem ?

Best regards.

dogomatic
11-16-2007, 10:47 AM
You can't change the color of disabled text in IE. If you want it to look normal, but not be editable try using field.readOnly = true rather than field.disabled.

pbaccari
11-16-2007, 11:08 AM
OK, i will try.
Thanks for your answer, else i will persist to try with disabled field.

Best regards.