开发者

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 ?


Obviously you didn't have enough coffee.

It's clear: both, silly ;)


You could use either of the following methods;

footer {
clear: both;
}

Or,

content {
overflow: hidden;
}

Hope that helps.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜