Welcome to WebmasterWorld Guest from 23.22.46.195

Forum Moderators: not2easy

Form layout question

   
9:24 am on Jan 13, 2003 (gmt 0)

10+ Year Member



Hello,

I want to convert the formatting of this little form to a non-table layout with css ... is there an easy way to do this.
I always see examples of forms where the label is on top of the textbox ... I want all the labels on the left side with an equal width.

<table>
<tr>
<td width="100px;">Field 1 label</td>
<td><input type="text"></td>
</tr>
<tr>
<td>Field 2 label</td>
<td><input type="text"></td>
</tr>
</table>

Thanks

9:36 am on Jan 13, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You could
float:left;break:left
the label.

Andreas

10:25 am on Jan 13, 2003 (gmt 0)

10+ Year Member



That's it

Thanks a lot!

 

Featured Threads

My Threads

Hot Threads This Week

Hot Threads This Month