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

Posted by dave on 04/30/07 20:38

On Apr 30, 11:50 am, Bergamot <berga...@visi.com> wrote:
> Greg N. wrote:
> > d...@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

Thanks, that did indeed take care of the problem. I tested it with
Opera, IE, and FF on Linux and XP. All platforms and browsers work!

Thanks Berg and Gregor.

 

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

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