View Full Version : color and boarders around forms


tkdgurl927
09-24-2004, 05:16 AM
ok i want a form with a bg color in the text area and a dashed boarder. for the buttons to submit and clear and also the text fields. heres the code:

<form method="post" action="email.php">
<p>Name: <input type="text" name="name" size="40" /><br />
Email: <input type="text" name="email" size="40"/><br />
Website: <input type="text" name="siteurl" value="http://" size="40"/><br />
Advice Needed: <br><textarea rows="5" name="comments" cols="40"></textarea><br />
<input type="submit" name="subtmit button" value="Ask!" size="30" />
<input type="reset" name="reset button" value="Clear!" size="30"/></p>
</form>


thx!

salomeyasobko
09-24-2004, 05:36 AM
add the bold code to the textarea code, and change the colors:

<textarea style="background-color: #FFFFFF; border: 1px dashed #000000;">



then the second thing you said made no sense to me:

for the buttons to submit and clear and also the text fields. heres the code

i don't understand what you are saying/asking :confused:

tkdgurl927
09-27-2004, 10:48 PM
i just want to know how to make the "submit" & "clear" button dotted and colored. thx

kittycat
09-27-2004, 11:02 PM
<input type="submit" name="subtmit button" value="Ask!" size="30" style="background-color: #FFFFFF; border: 1px dashed #000000;" />
Then add the bold to the clear button too.