Reply to Re: Space after div

Your name:

Reply:


Posted by Els on 07/29/06 14:16

TC wrote:

> 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
>
> Here's a tip that I've found useful. Temporarily assign different
> background colors to some or all of the elements in your HTML. For
> example:
>
> <div style="background-color:red">
> ...
> <p style="background-color:green"> ... </p>
> ...
> </div>
>
> Then you can easily see where the unexpected space is coming from. (If
> it's red, it's the div; if it's green, it's the paragrpah, and so on.)
> Fix the problem as appropriate, then remove the temporary background
> color styles.

Although it's sound advice, it only partly helps in this case, since
the space remains white :-)

It helps in that it shows a red margin above the paragraph, but not
below, indicating there is something not quite right at the bottom ;-)

--
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

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