View Full Version : Text box width?


Spike
04-15-2003, 04:50 PM
I have an e-mail form, only I want the boxes to be smaller, how do ya do this???

epolady
04-15-2003, 04:59 PM
<input type="text" name="blah blah blah" size="##">

MaGiCSuN
04-15-2003, 05:24 PM
or you can put into your CSS stylesheet:

input { width: ##px; }

but this will change all the input things. I use that one above though for my coding i just name it like this:

.button { width: ##px: border-style etc etc; }

and then add Class="button" to the <input> code from the button. Then the only thing that changes is the button.

but since you are talking about the fields, the input code is more then fine :) (the first one)

love,
Mirna

Prezhi0usGurL
04-15-2003, 06:44 PM
if you wanna resize your textbox you can add cols="##" thats for the width and to resize the height you can add rows="##"