How Could I Set textarea Background Color ? I want to change textarea Background color <textarea name="articlesummary" rows="3" cols="30" style="width: 96%">{$articlesummary}</textarea> PHP: it is the code which i want to change thanks
<textarea name="articlesummary" rows="3" cols="30" style="width: 96%; background-color: #ABC123;">{$articlesummary}</textarea> PHP:
Thanks NinjaNoodles. How could I Do This For This Code : <input type="text" size=40 name="articlekeywords" value="$articlekeywords"> PHP: And This : <input type=submit name=submit value="Submit"> PHP:
If you want all textareas to have the same background color, add the following to your CSS: textarea { background-color: #ABC123; } Code (markup): To change specific situations (such as those you've listed, although they aren't textareas), add the following to each tag: style="background-color: #ABC123;" Code (markup): You could also assign classes to the elements and control them via CSS.