You need overflow: hidden on
You need overflow: hidden on #content3col to contain the floats and clear: both on #footer.
Great that worked. Perfect, these 2 instructions have the effect of making little block, which is exactly what I need 90% of the time.
Now another question. In this page I use the #content style on all the pages except the main page. I cannot use the #content(i think) on the first page because I needed 3 columns on the first page. But I want to keep using all the other declarations from #content. Like the h2 and p, etc
so What should I do in this case? How can I have on #content3col everything that is on #content except the spacing? #content defines a padding that I dont need on #content3col.
So in other words. Right now I cannot put contentleft, contentright and contentcenter inside content because of the padding in content.
You don't need to precede
You don't need to precede everything with #content, so if you remove it from your declarations it won't matter what ID or class the container has.