Click to See Complete Forum and Search --> : Formatting Forms


NapoleanSolo
03-31-2003, 05:13 AM
Hi there!

I have a weboage with a form on it.
The form just allows you enter your name in a text box, then submit this name, which then runs a servlet.

I have a default value in the textbox in case the person dosent enter their name.

<form>
<input type=text name="name" value="Joe">
<input type="submit">
</form>

It looks very BORING! Is there a way to format a form?

How can you make the text in the text box bigger, bold, different fonts etc.

I appreciate all help,

thanks,

Joe =)

pyro
03-31-2003, 06:56 AM
With CSS there is.

<input type=text name="name" value="Joe" style="color: #0000ff; size: 120%; font-family: Arial; font-weight: bold;">

NapoleanSolo
03-31-2003, 08:13 AM
thanks very much =)