Question:

Help with html code and making text boxes the same length...?

by  |  earlier

0 LIKES UnLike

I have text fields for "first name" and "last name". But the text boxes arent equal in length. The last name box extends farther out then first name box. How do I make them the same length EXACTLY?

 Tags:

   Report

2 ANSWERS


  1. The size needs to be the same

    <input name="phone" type="text" size="24" >


  2. setting the size should work, but it is actually setting the number of characters allowed in your text box.  To set the width of the box in units of pixels on the screen, use the style width attribute.

    <input name=first size=24 style="width:100px;"/>

Question Stats

Latest activity: earlier.
This question has 2 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.
Unanswered Questions