javascript
Brief description  about Online courses   join in Online courses
View Dinesh  Siriwardana 's Profile

Input textboxes and labels - how to make them equal in html

Hi,

Can any one let me know how to get the text boxes in equal margin in html?

Example:

First name : text box here
Middle name: text box here
Last name : text box here

In browser Middle name text box is not located in equal margin with other two.

Thanks
Dinesh.

Asked by Dinesh Siriwardana | Jul 12, 2012 |  Reply now
Replies (1)
View teacher siliconindia 's Profile
Hi,

are in HTML or CSS

Please check this code, if any doubts ask me..
<table width="400" border="1" cellpadding="10">
<tr>
<td><label>
<input type="text" name="textfield" id="textfield" />
</label></td>
<td><input type="text" name="textfield2" id="textfield2" /></td>
<td><input type="text" name="textfield3" id="textfield3" /></td>
</tr>
</table>
Jul 15, 2012