[css-d] Form elements aligment

2005-11-07 Thread Reynier Perez Mira
Recently I pass all my site from using tables to DIV. Now I have a problem with form elements because it not show correctly. I want to show this elements like if I have two columns in a table. How can I do this ? Cheers __

Re: [css-d] Form elements aligment

2005-11-07 Thread Jan Milz
Thats easy :) some markup like this: label class=leftname/label input type=text name=name value=br / and some css like this label.left { float: left; text-align: right; width: 5em; margin-right: .3em; } form br { clear: both; } then you have two columns. greetz, jan __

Re: [css-d] Form elements aligment

2005-11-07 Thread CJ Larson
A few nice sites that have done forms with CSS: http://jeffhowden.com/code/css/forms/ http://www.themaninblue.com/writing/perspective/2004/03/24/ - http://www.themaninblue.com/experiment/InForm/ http://www.javier-julio.com/design/css/downloads/ -