You are here: Re: how to space these form elements? « HTML « IT news, forums, messages
Re: how to space these form elements?

Posted by Rik on 06/06/06 16:24

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,
--
Rik Wasmus

 

Navigation:

[Reply to this 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

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