homepage Welcome to WebmasterWorld Guest from 54.211.47.170
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / CSS
Forum Library, Charter, Moderator: open

CSS Forum

    
Form layout question
Yoeri




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

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

 

andreasfriedrich




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

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

Andreas

Yoeri




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

That's it

Thanks a lot!

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / CSS
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved