I have a
It is used for some JS which places its output here.
How can I keep the text black, and eventually have the background in
the same colour as the page background colour?
WBR
Sonnich
Re: Black text in Disabled text input?
am 09.10.2007 10:17:29 von dorward
On Oct 9, 7:57 am, jodleren wrote:
> I have a
> It is used for some JS which places its output here.
> How can I keep the text black, and eventually have the background in
> the same colour as the page background colour?
You don't. Its an input, the purpose of the control is to collect data
from the user. If you want to display output, use something else, such
as a paragraph.
--
David Dorward
http://dorward.me.uk/
http://blog.dorward.me.uk/
Re: Black text in Disabled text input?
am 09.10.2007 15:53:31 von lws4art
David Dorward wrote:
> On Oct 9, 7:57 am, jodleren wrote:
>> I have a
>> It is used for some JS which places its output here.
>
>> How can I keep the text black, and eventually have the background in
>> the same colour as the page background colour?
>
> You don't. Its an input, the purpose of the control is to collect data
> from the user. If you want to display output, use something else, such
> as a paragraph.
Or use
--
Take care,
Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
> Hi!
>
> I have a
> It is used for some JS which places its output here.
>
> How can I keep the text black, and eventually have the background in
> the same colour as the page background colour?
If you really need to display this in a input, perhaps rather then using
the disabled attribute, try the readonly attribute.
Although I think Jonathan's suggestion for a form element that you don't
want a user to edit is the best one.
--
BootNic Tuesday October 9, 2007 11:47 AM
"Do not trust your memory; it is a net full of holes; the most
beautiful prizes slip through it."
*Georges Duhamel, The Heart's Domain*