View Full Version : OT: HTML / CSS Problem !
01 January 2004, 03:10 PM
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
01 January 2004, 05:03 PM
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.
01 January 2004, 05:07 PM
thanks elam ! i will try imediately !
best wishes from germany.
01 January 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.