View Full Version : How do you change a Text area Color.
Fullwebservice
11-13-2002, 01:25 PM
You know this part
<input type="text" name="textfield">
How do i change the background color of it and can you put a pixel border?
thanks.
Bosko
11-13-2002, 01:36 PM
<style>
input[type="text"]{border:1px;background-color:red}
</style>
or:
<input type="text" name="textfield" style="border:1px;background-color:red">
Fullwebservice
11-13-2002, 01:46 PM
Thanks :)
Fullwebservice
11-14-2002, 02:27 PM
can you change the height of the text area?
cg9com
11-14-2002, 04:10 PM
http://www.w3schools.com/css/css_reference.asp
but if you are going to change the height on an input
instead you should use a <textarea></textarea>
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.