chlori said:
There is a gap under the logo image (IE6/FF1):
http://www.arto.ch/tests/thinklab/index2.php
How can I remove it?
The <h1> has position relative. Remove that and add borders to the
<h1>. What do you see? The bottom border of the <h1> coincides with
the top of the nav strip.
When you use position: relative the rest of the page is laid out as if
that element had been in its static position.
You've given the h1 a line-height of 60px so it has to be 10px taller
than the 50px tall image. Hence there will be at least a 10px gap.
Setting a pixel line-height is a bad idea - it causes problems when
the font size is larger than that pixel value.
Remove the line-height and the gap becomes much smaller.
The remaining gap is due to the fact that images are treated as text
and sit on the baseline of their line box. In this case this means
that <p id="logo"> (BTW is that really a paragraph?) has space below
the baseline just as it would if there was text in there. Set display:
block for the logo <img> to remove.
Steve