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

Posted by John Salerno on 06/06/06 18:09

Rik wrote:
> John Salerno wrote:
>> Rik wrote:
>>
>>> input{
>>> margin: 0 0 3px;
>>> }
>>> input.adress{
>>> margin:0;
>>> }
>> This still seems to be a problem, because the margin between the third
>> textbox in the home address and the first textbox in the foreign
>> address is 0px, and I want it to be 3px.
>
> I didn't say you had to apply the class to the last input element...
>
> Grtz,

Well then, IMO, that's no better than using tables when you don't need to.

If you can't apply a class to all elements that it should be applied to,
then that isn't a very good solution. I don't want to start making
exceptions as to what I can label 'address' (or whatever else) just
because it's convenient to leave it out here and there.

The way I see it, either all six input boxes should be labeled
'address', or I just need to come up with another solution.

 

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

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