The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Help getting footer to clear sidebar Re: Help getting footer to clear sidebar


No, I can’t set things to the same height because that’s a cheat. Let’s say the administrator of the site puts complicated content in every story (say the articles are art directed).

I wrapped the two .one-half divs like you mentioned in a class called “container” and gave it a clearfix. Take a look at the results …

It looks like any clear is going to cause a problem for the sidebar. My idea is that a solution is to ensure that anything that needs cleared on the left needs to be floated and have a width on it. Like this:

.container {
background: red;
float: left;
width: 640px;

I could be wrong, though. What do you think?