|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
Disabled text styleHi Cyril,
I'm trying to change the "disabled text" style I'd like the text to be written in black (and not in gray). So I overloaded the .text_desable class. But this only worked in Firefox. .text_desable { color:black; background-color :#E6E6E6; } In Firefox, the color AND the background are changed to what I want. In IE, only the background-color is changed. The text is still written in gray. Any solution? Thanks. Fred |
|
|
Re: Disabled text styleHello Fred,
Unfortunatky it is a default behavior in IE when you set the disable attribute to an input to true. The color is forced to grey whatever you set. The only solution is to set the disable attribute to false. yourText.champs.disabled=false; But in this case the user can write in the input... Cyril --- In rialto-dev@..., "frederic_viollet" <frederic.viollet@...> wrote: > > Hi Cyril, > > I'm trying to change the "disabled text" style > I'd like the text to be written in black (and not in gray). So I > overloaded the .text_desable class. But this only worked in Firefox. > > .text_desable { > color:black; > background-color :#E6E6E6; > } > > In Firefox, the color AND the background are changed to what I want. > In IE, only the background-color is changed. The text is still written > in gray. > > Any solution? > > Thanks. > > Fred > ------------------------------------ Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/rialto-dev/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/rialto-dev/join (Yahoo! ID required) <*> To change settings via email: mailto:rialto-dev-digest@... mailto:rialto-dev-fullfeatured@... <*> To unsubscribe from this group, send an email to: rialto-dev-unsubscribe@... <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/ |
|
|
Re: Re: Disabled text styleOk Cyril,
I guess I'll have to display the info in another way then. Thanks. Fred Cyril Balit a e'crit : > Hello Fred, > > Unfortunatky it is a default behavior in IE when you set the disable > attribute to an input to true. The color is forced to grey whatever > you set. > The only solution is to set the disable attribute to false. > > yourText.champs.disabled=false; > > But in this case the user can write in the input... > > Cyril > > > --- In rialto-dev@..., "frederic_viollet" > <frederic.viollet@...> wrote: > >> Hi Cyril, >> >> I'm trying to change the "disabled text" style >> I'd like the text to be written in black (and not in gray). So I >> overloaded the .text_desable class. But this only worked in Firefox. >> >> .text_desable { >> color:black; >> background-color :#E6E6E6; >> } >> >> In Firefox, the color AND the background are changed to what I want. >> In IE, only the background-color is changed. The text is still written >> in gray. >> >> Any solution? >> >> Thanks. >> >> Fred >> >> > > > > ------------------------------------ > > Yahoo! Groups Links > > > > > begin:vcard fn;quoted-printable:Fr=C3=A9d=C3=A9ric Viollet n;quoted-printable:Viollet;Fr=C3=A9d=C3=A9ric org:Bull, Architect of an Open World (TM);Evidian S.A. adr;quoted-printable:;;Rue Jean Jaur=C3=A8s;Les Clayes Sous Bois;;78340;France email;internet:frederic.viollet@... title:Software Engineer tel;work:01 30 80 77 34 url:http://www.evidian.com - http://www.bull.com version:2.1 end:vcard |
| Free Forum Powered by Nabble | Forum Help |