>I believe the standard way to deal with this is "overflow:hidden" on > >the containing element. >Otherwise you have to use "clear" on the following element. >-- >Ed Seedhouse > > > >remove float: right from your footer. > >The problem is that you have those sections and the footer floating. To clear floated elements you can add an element after your floats, in this case it is your footer, and use the clear property to make the >containing block stretch to contain the floats. > > > >To try this add an extra div after your footer and leave it empty. give it a style of clear:both. That should work too. Another way to contain floated elements is to float their parent also. In this case it's >your container div. But since you have the margin on that to center it you can't also float it. So removing float:right from your footer works or adding another div with the clear property. You can also use >overflow:hidden on your container as a way to clear floats, but that might not be desirable if you're going to have content that could go outside of the boundaries of your containing box. > >Jeff
Thank you all, Any reference that I could look at about the relation between the overflow:hidden and similar issues, so that I can learn more about it, please. :) I've searched containing floats article on css-d wiki but, no luck... I'm trying to grab this float thing and I intend to NOT let it go now. ;) Thanks in advance, Márcio ______________________________________________________________________ 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/
