Click to See Complete Forum and Search --> : How do I control the width of e-mail field


jamesx521
12-13-2004, 10:52 AM
Hi,
I want to be able to control the width of the e-mail field. I use Dreamweaver and can see the change of width is happening when I change the value, but not when I preview it in the browser. It shows in the browser the standard width which is about 100 pix.



<input name="email" type="text" id="email" width="42">
<input name="Submit" type="submit" id="Submit1" value="Submit">




Thanks.

jms

Genixdeae
12-13-2004, 11:01 AM
personal opinion dont use the preview feature in dreamweaver. go directly to the file, view source....if it shows the chnage has been saved but it isnt in affect then it's a code issue but if it's not in the code u know it's not being uploaded.

jamesx521
12-13-2004, 11:22 AM
Thanks,
I've noticed that before with other preview instances.
But I still don't know the code of how to constrain the width of the text field for e-mail submission.

NogDog
12-13-2004, 11:54 AM
Use size=20 to specify that the field is to be displayed 20 characters wide, use maxlength=40 to specify the max number of characters which can be entered.

Hellspire
12-13-2004, 10:15 PM
this is posted in the wrong forum. it should be moved to the HTML section. you can use size or style="width:" gl