Reply to Re: how to space these form elements?

Your name:

Reply:


Posted by John Salerno on 06/06/06 16:53

Rik wrote:
> John Salerno wrote:
>> Here's my page. This is just as an exercise to me.
>> http://johnjsalerno.com/labinfo.html
>>
>> What I'd like to do is have the text fields for each address (home and
>> foreign) be 0px apart, as they are, but also I'd like the third text
>> field of the home address separated from the first text field of the
>> foreign address just as all the other text fields are separated, i.e.
>> 3px instead of 0. How would I do this?
>
>
> I'd use classes in css:
>
> input{
> margin: 0 0 3px;
> }
> input.adress{
> margin:0;
> }
>
>
> And I wouldn't use a table for non-tabular data.
>
> Grtz,

Thanks for the suggestion. As far as tables, I've read that it's okay to
use them when constructing forms, because otherwise it's just a pain to
have everything line up. Is that still not agreed on by the purists?

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация