Unable to set the width of a textbox

O

Otuatail

I have tried to change the width of a text box but it insists on sticking
withit's width

INPUT type="text" id=text1 name=text1 width="20"

There must be a way of changing this.

Paul.
 
A

altamir

(e-mail address removed) (Otuatail) wrote in m05.aol.com:
I have tried to change the width of a text box but it insists on sticking
withit's width

INPUT type="text" id=text1 name=text1 width="20"

There must be a way of changing this.


<input type="text" id="text1" name="text1" style="width:20px" />
 
C

Cameron

altamir said:
(e-mail address removed) (Otuatail) wrote in m05.aol.com:





<input type="text" id="text1" name="text1" style="width:20px" />

and for future reference it's size="20" not width="20"
 
O

Otuatail

Thanks for this solution. This must have
changed as I used to be able to use
the width="20" before.
 
D

David Dorward

Otuatail said:
Thanks for this solution. This must have
changed as I used to be able to use
the width="20" before.

<input> elements have never supported a width attribute.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,436
Messages
2,571,696
Members
48,796
Latest member
Greg L.
Top