Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/css/32.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Html 神秘的页脚缺口_Html_Css - Fatal编程技术网

Html 神秘的页脚缺口

Html 神秘的页脚缺口,html,css,Html,Css,在一个站点上改变页脚,并且很难解决为什么我在站点页脚上出现空白的问题。正在查看带有白色背景的.footer\u容器。我有一个.aux类,它有一些额外的版权和联系信息,保存在页脚容器中,但不带有页脚容器中的白色背景色??我错过什么了吗?可能有什么东西正盯着我,而我只是忽略了? 任何帮助都将不胜感激 网站位于[此处][1] css 没有背景。#footer_nav_容器上有白色背景,但.auxdiv是的子容器,位于#footer_nav_容器下方,因此它也没有应用背景。我相信用一个简单的方法在页脚上

在一个站点上改变页脚,并且很难解决为什么我在站点页脚上出现空白的问题。正在查看带有白色背景的.footer\u容器。我有一个.aux类,它有一些额外的版权和联系信息,保存在页脚容器中,但不带有页脚容器中的白色背景色??我错过什么了吗?可能有什么东西正盯着我,而我只是忽略了? 任何帮助都将不胜感激

网站位于[此处][1]

css

没有背景。
#footer_nav_容器
上有白色背景,但
.aux
div是
的子容器,位于
#footer_nav_容器
下方,因此它也没有应用背景。我相信用一个简单的方法在页脚上应用白色背景

footer{
background-color:#FFF
}

将弥合差距

需要两个变化

首先禁用
页面
类的
填充底部:40px

.page {
  display: block;
  /* padding-bottom: 40px; */
  border-bottom: 1px solid;
  margin-bottom: 10px; }
并禁用“#footer_container”div的强制
height:216px

#footer_container {
    position: relative;
    clear: both;
    bottom: 0;
    width: 100%;
    /* height: 316px; */
    padding: 10px 0;
    background: #fff;
}
“页脚”摘要中的
#F7F7F7
现在是一个占位符。实际上,我指的是.aux div与版权信息和联系电话之间的差距。我将继续修改这个问题,以便进一步澄清。谢谢你迄今为止的帮助。
#footer_container {
    position: relative;
    clear: both;
    bottom: 0;
    width: 100%;
    /* height: 316px; */
    padding: 10px 0;
    background: #fff;
}