Hi, I want to have my text boxes left aligned on the same column position, e.g. text box A on row 1 column 20, text box B on row 2 column 20, text box C on row 3 column 20. How to do this? Thanks a lot.
You said that you wanted text boxes aligned on the 20th column of each row. This made me think that you have a table, with rows, each with at least 20 cells, otherwise you wouldn't be able to use the 20th cell.
Thus, I'm suggesting putting your input boxes in that 20th column on each row.
Maybe you could post your code if you're still having problems?
I think she means "row 1 column 20" as being a particular place on a character-mapped screen, rather than a particular cell in a table.
Sandra, the easiest way to do it (in my opinion) is to use a table:
[tt]
<form>
<table border="0" cellspacing="2">
<tr>
<td>Label 1:</td>
<td><input name="field1"></td>
</tr>
<tr>
<td>Label 2:</td>
<td><input name="field2"></td>
</tr>
<tr>
<td>Long Label 3:</td>
<td><input name="field3"></td>
</tr>
</table>
</form>
[/tt]
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.