On Tue, 7 Dec 2004 09:49:05 -0800, "Ryan" <(E-Mail Removed)>
wrote:
>I am not a web programmer and trying to figure out the best way for laying
>out a form for data entry. I would like, for example, to have a right
>justified label followed by 5 pixals and a left justified textbox. Should I
>use three columns for this, with the center column five pixals wide or two
>colums with the table cell spacing set to five pixals.
>
>Also, when is it appropriate to use the lable control as opposed to just
>keying text into the cell? Or does it matter?
Surely you can just give the second column a attribute
<td style = "padding-left: 5px"> </td>
You can implement this by using a style sheet (HTML class
attribute rather than style attribute). Eg.
http://www.15seconds.com/issue/040105.htm
I can see no advantage of using a 3rd column in the middle and
would not because you'd be using that table column only for
layout purposes.
I must strongly disagree with the guy who said use a 3 column
table.
I, myself, would be tempted to use some from of table-less css
layout myself, google "table-less form css", as the purists do.