top left
The HTML Source Logo


 html
Top Right
    
 Getting StartedHow Do I...TroubleShootingPromotionContact Us
 html
HTML
SEARCH THE SITE
advanced search



CATEGORIES
Home
Getting Started
HTML Cheat Sheet
Webmaster Tools
HTML Help Forum
Color Codes
Link to us









































bottom
HTML HTML HTML HTML
How Do I Change The Color Of My Text Area?


How to do it

To change the color's of your text area, you first start off with your ordinary text area code like this:

<FORM><textarea rows="5" cols="20">Put your text here</textarea></FORM>

Now to change the color's, you need to add some style tags, like this:

<FORM><textarea rows="30" cols="75" style="background:your color here" style="font-family:your font here" style="color:your font color here" style="border style:solid">Put your text here</textarea></FORM>

Next just edit all the stuff in GREEN text.


Note:  You need to use color codes in this script. If you don't know what the color code is for the color that you want to use, CLICK HERE to see an entire list of all the colors and there color codes.

Note:  The color of your text will determine the color of the border around your text area.

Example

<FORM><textarea rows="5" cols="50" style="background:#99FFFF" style="font-family:Comic Sans MS" style="color:#0033CC" style="border style:solid">Text Goes Here... Text Goes Here... Text Goes Here...Text Goes Here... Text Goes Here... Text Goes Here... Text Goes Here... Text Goes Here... Text Goes Here... Text Goes Here... Text Goes Here... Text Goes Here... Text Goes Here... Text Goes Here... Text Goes Here... Text Goes Here... Text Goes Here... Text Goes Here... Text Goes Here... Text Goes Here... Text Goes Here...</textarea></FORM>



<FORM><textarea rows="5" cols="50" style="background:#003300" style="font-family:Comic Sans MS" style="color:#00CC00" style="border style:solid">Text Goes Here... Text Goes Here... Text Goes Here...Text Goes Here... Text Goes Here... Text Goes Here... Text Goes Here... Text Goes Here... Text Goes Here... Text Goes Here... Text Goes Here... Text Goes Here... Text Goes Here... Text Goes Here... Text Goes Here... Text Goes Here... Text Goes Here... Text Goes Here... Text Goes Here... Text Goes Here... Text Goes Here...</textarea></FORM>





< BACK







Company   |   Careers   |   Partners   |   Advertising   |   Help
Privacy Policy   |   Trademark Notices   |   User Agreement
© 2001 TheHTMlSource.com, INC. All Rights Reserved.



Site hosted by Angelfire.com: Build your free website today!