KavinskyC wrote:
I'm having a problem getting the background of a container to extend past floated elements. This shows up only in Firefox for Windows.

Opera 8 isn't extending the container either. It is correct behavior.

A demo page is located here: http://whiteboxerdesign.com/test/

#content {float: left; _float: none /* keep the underscore */;}

This will work in Firefox, Opera and IE6. I didn't test further.

The reason this "fix" will work is that floats always extend to contain
other floats. IE/win have some problem when floating that container in
your layout, so the second part (with the leading underscore) will
cancel the float in IE/win only.

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/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to