change color inside a <text> element

liunx

Guest
I know how to change the background of a text element, but how do I change the color of the text inside it?<br />
<br />
I want red numbers to show up in certain <text> elements in the form.<br />
<br />
???<!--content--><style type="text/css"><br />
textarea {color:white; background-color:dimgray; font-family:arial, sans-serif;}<br />
</style><!--content-->dimgray is not a valid color name. See <!-- m --><a class="postlink" href="http://www.w3.org/TR/REC-CSS2/syndata.html#color-units">http://www.w3.org/TR/REC-CSS2/syndata.html#color-units</a><!-- m --> for a list of valid colors.<!--content-->You can blame Jona on that one I got it off his site and didnt bother to edit it.<!--content-->I'm not blaming anyone. Simple pointing out that it is not valid and should not be used. Use the hex value, instead.<!--content-->Okay- but how do I tie that to my text field?<!--content-->put it in the head tag<!--content-->Right on- thanks!!<!--content-->Your welcome<!--content-->
 
Back
Top