Thread: TeXt-aReA bAcKrOuNd cOdE
Results 1 to 3 of 3
Related
-
Rollover images with text area Forum: Javascript Forum
Replies: 0 -
Layout code - underlined text? Forum: Myspace Forum
Replies: 0 -
Probably wrong area Forum: Websites For Sale
Replies: 0 -
How to parse displayed text from HTML code? Forum: CGI Perl Forum
Replies: 3 -
Spurious tab being inseted in text area Forum: HTML Forum
Replies: 3
-
08-20-2002, 08:39 AM #1
TeXt-aReA bAcKgrOuNd cOdE
Is there a code out there that will change the background of the textarea for the forms?? cause I really need to make my textarea's background color to change to black, and I also need a code to change the font type and font color for the textarea.
edit: corrected spelling for the search enginesLast edited by HTML; 08-29-2002 at 07:44 PM.
-
08-20-2002, 10:53 AM #2
Here you go -
This should work, not 100% on some of the property names (I am at work, no books!) but try it and see what happens.
Code:<textarea name="changeMe" onFocus="javascript: this.style.backgroundColor='000';this.style.text='fff';"> </textarea>
Last edited by HTML; 08-20-2002 at 02:51 PM.
If one of our members helps you, please click theicon to add to their reputation!
No support via email or private message - use the forums!
Before you ask, have you Searched?
-
09-04-2002, 06:29 AM #3
RE
look up cascading style sheets, otherwise known as CSS. just type 'css textarea background' , 'css tutorials' or something in google.