You are here: Re: Question about form layout « HTML « IT news, forums, messages
Re: Question about form layout

Posted by David Sevilla on 10/18/07 13:26

Hi,

On Oct 18, 3:03 pm, "Jonathan N. Little" <lws4...@centralva.net>
wrote:

> > I've put a form in my webpage:http://www.davidsevilla.com/personal-sp.html
> > and I don't understand why I get some small extra space between the
> > form and the previous line (in Firefox, in any case it's HTML Strict).
> > It's the same if I change the "p" inside into a "div". I've tried to
> > understand a bit how block elements work and so on, but this is too
> > much for me :) Any explanations?
>
> <p>s by default have margins (the extra space you see) and <div>s don't.

Well, as I said I have tried both and they look the same...

> form p { margin: 0; padding: 0; }
>
> will get what your wish...

It didn't, the space between the form and the previous line is still
bigger than the previous one, even with style="margin: 0; padding: 0;"
added to the "p" inside the form...

> --
> Take care,
>
> Jonathan
> -------------------
> LITTLE WORKS STUDIOhttp://www.LittleWorksStudio.com

Thanks,

David

 

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

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