Page 1 of 1

Textarea background

Posted: Sat Aug 30, 2003 2:08 pm
by packito
Hey everybody!

How can i change the background of a textarea? Does it have to be always white :?:

Posted: Sat Aug 30, 2003 2:12 pm
by McGruff
Apply a CSS style. You might want to define a class in a stylesheet so you can apply the same styles to all the forms in the program.

Posted: Sat Aug 30, 2003 6:23 pm
by wmasterj
If you'r a bit rusty with CSS style sheets ->
there's a very detailed tutorial at webmonkey, you can also just skip to the good stuff:

http://hotwired.lycos.com/webmonkey/aut ... rial1.html

Posted: Sun Aug 31, 2003 1:25 am
by JAM

Code: Select all

<textarea name="text" style="background: #dfdfdf; border: 1px solid #000000">Default Text</textarea>

thanks!

Posted: Thu Sep 11, 2003 3:10 pm
by packito
Muchas gracias, JAM, problem solved!

Once again, thanks for the help of everyboy!