Ib Jensen wrote:
> Link: http://ikjensen.dk/test/  (repaired)
> 
> Having a minor / major problem with this layout and IE6.
> 
> The content area starts below the Sidebar.
> 
> Which bug have I found here ?
> 
> In FF3.0 it shows perfect.


In IE7 or earlier the top margin of block elements does not collapse 
into the top margin of it's container as it should if this block element 
is preceded in the source by a floated sibling element. The bug is 
demoed here [1].

In your case the top margin of div#center-in does not collapse into and 
to become the top margin of div#content. The float is div.column#left. 
The fix is to give a top margin to the containing element.


#content { margin-top:1em; }


BTW, the bug is fixed in IE8.


1. <http://css-class.com/test/bugs/ie/floatsandblockelements.htm>



-- 
Alan http://css-class.com/

Armies Cannot Stop An Idea Whose Time Has Come. - Victor Hugo
______________________________________________________________________
css-discuss [cs...@lists.css-discuss.org]
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