Re: Change Default font color / style for readonly field
Posted by
Erik Bruchez on
URL: https://discuss.orbeon.com/Change-Default-font-color-style-for-readonly-field-tp32659p32660.html
Nelson,
What browser are you using? IE won't allow you to style read-only
controls for example.
But you are not using the right classes anyway. Try things like:
.xforms-readonly input { ... }
instead.
-Erik
Nelson Tsang wrote:
> Hello all,
>
> How can I change the Style / Font Color of the readonly fields (e.g.
> those input fields with a bind calculations).
> I found that all the readonly fields was set to grey color by default, I
> have tried to add a class in my xform CSS
> call:
> .input-readonly { color:black;}
> input.input-readonly { color:black;}
> .input-readonly input { color:black;}
>
> also, I have tried to change the class in /config/theme/xforms.css, but
> it seems not working, can anyone please advise a way?
> Thanks a lot,
> --
> Nelson.
>
[hidden email] <mailto:
[hidden email]>
--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/--
You receive this message as a subscriber of the
[hidden email] mailing list.
To unsubscribe: mailto:
[hidden email]
For general help: mailto:
[hidden email]?subject=help
ObjectWeb mailing lists service home page:
http://www.objectweb.org/wws