...

View Full Version : How do you change a Text area Color.



Fullwebservice
11-13-2002, 02: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, 02: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, 02:46 PM
Thanks :)

Fullwebservice
11-14-2002, 03:27 PM
can you change the height of the text area?

cg9com
11-14-2002, 05: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>



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum