Click to See Complete Forum and Search --> : Can you change the size of a form?


rch10007
08-12-2005, 03:14 AM
Say we have a standard form:

<form ........ /form>

How do you shrink the size of the text boxes???

I've seen someone's website that had small text boxes for their username and password login area. I can't remeber who, so I am at a lost as to how to do this.

Thanks!

JPnyc
08-12-2005, 03:39 AM
size="10" or whatever number you wish, inside the tag.

NogDog
08-12-2005, 05:22 AM
input {
font-size: x-small;
padding: 0;
}

rch10007
08-12-2005, 07:17 AM
Thanks guys,

I was declaring the size in the form tag, lol!

Siddan
08-12-2005, 08:32 AM
you can use css by telling exactly how many pixels wide you want the text box... I have noticed in Firefox and IE that the sizes are not the same when setting the size in the input form

rch10007
08-12-2005, 08:45 AM
good point, thx