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