CSS - 中心页脚内容
问题描述:
我需要中心我的页脚内容,我无法使其工作。CSS - 中心页脚内容
我中心用我的网页:#wrap {width: 960px;margin: 0 auto;}
我用我的头和内容float:left;
float:right;
。
所以,我尝试我的中心内容页脚利用的:
#footer {height:0 auto;min-width:960px;float:left;}
div.inner_footer {height:720px;width:960px;margin:0 auto;}
整个页脚转到左边,只显示在主半页的页脚。
然后,我从#footer {height:0 auto;min-width:960px;float:left;}
起飞 float:left;
页脚直奔顶部。
谢谢。
@meagar - 为什么逗号? @Martin - 你可以包含一些HTML或链接到你正在工作的例子吗? – 2010-08-26 19:26:22