menardmam
menardmam

Reputation: 9986

footer at the bottom, but clear float dont work

Maybe i did not get enough coffee today, but i can remember how to do that

i have

header
content
   float float
footer

so the content have two float element

The problem, the footer don't go at the bottom.... it's up...

I cannot put the footer INSIDE the content (for background problem) I have made an empty div the is clear:float : don't work the clear float on the footer : don't work either

so i am lost... can you help ?

Upvotes: 2

Views: 3833

Answers (2)

Jo Sprague
Jo Sprague

Reputation: 17363

You could use either of the following methods;

footer {
clear: both;
}

Or,

content {
overflow: hidden;
}

Hope that helps.

Upvotes: 0

Yi Jiang
Yi Jiang

Reputation: 50095

Obviously you didn't have enough coffee.

It's clear: both, silly ;)

Upvotes: 3

Related Questions