Reply to Re: Question about form layout

Your name:

Reply:


Posted by David Sevilla on 10/18/07 14:33

Hi,

> Add margin-bottom: 0; to the <p> immediately above the form, and either
> use a div inside the form or add margin: 0; to the p inside the form.
>
> As far as I know, forms don't have margins by detault in FF although you
> might want to include
>
> form {
> margin: 0;
> padding: 0;
>
> }
>
> for IE's benefit.

Well, I see clearly now that the extra space is nothing more that the
usual space between paragraphs. Even if I change the inside "p" into a
"div", it just doesn't work because the "p" before the form is
considered closed as soon as the "form" tag appears (this I deduce
from testing with the W3 validator).

So, I guess there are two different paragraphs here, and the solution
is to use CSS as suggested.

Thanks,

David

[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

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