|
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?
Navigation:
[Reply to this message]
|