PDA

View Full Version : OT: HTML / CSS Problem !


PsychoSilence
01-19-2004, 03:10 PM
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. :( So HOW can i change a set disabled color in CSS ? text-color doesn´t work :(

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

elam
01-19-2004, 05:03 PM
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

PsychoSilence
01-19-2004, 05:07 PM
thanks elam ! i will try imediately !

best wishes from germany.

psycho

CGTalk Moderation
01-16-2006, 11:00 PM
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.