Dear Georg, Yes, now it's exactly as I wanted it! Thanks so much for your help! Best, Ruben
> Date: Mon, 9 Jul 2012 10:24:43 +0200 > From: gunla...@c2i.net > To: css-d@lists.css-discuss.org > Subject: Re: [css-d] <div> doesn't float all the way up > > On 09.07.2012 06:09, Ruben van den Berg wrote: > > I'm starting to feel the problem is somewhere in there. > > Sure, you forgot - or I forgot to tell you - to remove "overflow: > hidden" when applying "float: left" to header. > Both properties/values have the same effect on collapsing margins in > that they establish a new "block formatting context", but, of course, > they have totally different effects on content-overflow. > > So, write the header style like this... > > #bovenhelft{ > width:1030px; > height:120px; > float: left;} > > ...and those problematic collapsing margins will "evaporate" with no ill > effects to your menu. > > regards > Georg > ______________________________________________________________________ > css-discuss [css-d@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/ ______________________________________________________________________ css-discuss [css-d@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/