OT: HTML / CSS Problem !


#1

Hy everybody,
i know this is not really the right place for web programming but where else here ???

So my problem is that i want to have some text in an inputarea as disabled. so fa so good. if a text is set as disabled it appears in a bright grey color wich comes unhandy for me because the textarea´s backgroundcolor is a bright blue. :frowning: So HOW can i change a set disabled color in CSS ? text-color doesn´t work :frowning:

here´s the src code of the inputarea:

<input name=“number2” type=“text” disabled=“disabled” id=“number4” value="" size=“12” maxlength=“8”>

thanks in advance

psycho


#2

Hey Psycho,

To change text color you use the ‘color’ tag, not ‘text-color’.

ie: <input style=“color:red” name=“number2” type=“text” disabled=“disabled” id=“number4” value="" size=“12” maxlength=“8”>

It worked for me in Mozilla.

elam


#3

thanks elam ! i will try imediately !

best wishes from germany.

psycho


#4

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.