Reply to Re: Space after div

Your name:

Reply:


Posted by Els on 07/29/06 11:06

Chris wrote:

> I am trying to create a footer effect beneath a div. The main div puts a
> space before it shows the footer div, is there any way around this. I have
> posted a link.
>
> http://aspspider.org/chriskennedy10/test.html

The space is the bottom margin of the paragraph in the content.
This margin is collapsing with the 0 bottom margin of the div. To
avoid this collapse, you can give the div a bottom border (but you
don't want a border there), or a bottom padding. Either will keep the
margins of the contained elements inside.

--
Els http://locusmeus.com/

[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

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