|
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.
[Back to original message]
|