Paul Jinks wrote:
> I have a page that looks just as I want in FF but which misbehaves in
>  IE6, showing a gap between divs. 
> http://www.pauljinks.co.uk/test/contentTemplate2.html

The simplest and most reliable solution is to put an html comment in the
empty divs, to prevent IE/win from seeing whitespace in there.

<div id="main-top"><!-- --></div>
<div id="objective"><!-- --></div>
<div id="objectiveBot"><!-- --></div>


IE6 will otherwise treat those divs as if they're one line-height tall,
since that and older IE/win versions don't respect declared dimensions
and will auto-expand the divs in height to make room for an imaginary space.

regards
        Georg
-- 
http://www.gunlaug.no
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to