You are here: Re: ALA's Holy Grail is bad? « HTML « IT news, forums, messages
Re: ALA's Holy Grail is bad?

Posted by Bergamot on 04/30/07 18:50

Greg N. wrote:
> dave@seobm.com wrote:
>
>> The main column appears to be about an
>> em below the header...
>>
>> http://www.seobm.com/test/layout05.shtml
>
> That's easily fixed by giving the main div an appropriate negative top
> margin.

That's the wrong "fix" for this particular issue. The space above the
center column is caused by something called "collapsing margins", the
default top margin on the h2 element in this case.

Get rid of it by giving the center column a top padding of 1px. The
space above the footer is due to the same thing, except it's the default
bottom margin of the last paragraph.

--
Berg

 

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

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