Hi all! This is my first post here.

I have two floats, one next to the other, content and side. There is a third box under them, the footer. I'd like the footer to have some margin-top, but I can't manage that, even with clear:both.

If I want the footer to have a margin-top then I have to add a, semantically meaningless, class to "clear" the float before the footer. I'd like to avoid this.

Here is an example without the cleaner:

  http://geocities.ws/sweepslate/float-without-cleaner.html

And with the cleaner:

  http://geocities.ws/sweepslate/float-with-cleaner.html

Warning: I have coloured the boxes with bright colors to indicate the problem.

P.S.: Pardon the Geocities flashback, I was in need for a simplistic hosting.
______________________________________________________________________
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