View Full Version : how to make all input text boxes to start at specific point

Apr 20th, 2009, 06:20 AM
i have form with name , age etc and text field in front of it.

i want that all input boxes should start from same point rather than when the label finishes

<li><label for="child_name"> Child's Name</label> <input name="child_name" type="text" size="15" maxlength="20" /></li><hr />
<li><label for="child_age"> Age</label> <input name="child_age" type="text" size="5" maxlength="20" /></li><hr />

Apr 20th, 2009, 09:11 AM
Add a float:left; and some width to those labels in style, refer http://www.alistapart.com/articles/prettyaccessibleforms