Daniel,

> This HTML looks as I wish if I use IE but it has a strange behavior in
> Firefox.
> The background color of the header flows ahead to the top of the both
> blocks above the head.

The problem is caused by the uncleared floats above the header. The
floats are removed from normal flow, so that the #head starts at the
top. It is the first element in normal flow. The content of #head is
pressed down by the floats, which causes the div to expand.

Add clear:both; to #head and you clear the float for pushing all
following content in normal flow under #wrappera and #wrapperb.

By the way: Use a valid doctype to put firefox into standards mode or
you will notice loads of uncontrolable cross-browser differences in
rendering.

regards,

  Martin

 

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

Reply via email to