|
By Eddy R.
8-28-00
Ever wanted to customize your site's Input text boxes but don't
know how? Well, here is a quick and easy way to do it, and the results
can give your Forms a little more life.
The HTML
Check Creating Forms
if you need a refresher on Forms. The HTML of a regular Input text
box looks something like this.
<form method="post" action="formhandler">
<input type="text" size="25" name="normalform">
</form>
Of course you still need to add the Reset and Submit
buttons, and other Form Objects if needed - such as a Check
Box, a Radio Button, etc. To alter the appearance of your Form you
need to add the following code to the HTML of your form.
<Form method="post" action="formhandler">
<input type="text" size="25" style="border:13px
solid #FFCC00;" name="funform">
</form>
Here are the results!
Note that this little trick will not work on Netscape Navigator,
however Netscape 6 promises to be robust enough (by complying with
standards) for it to work then.
|