Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/css/34.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
Css 获取页脚和页面底部博客之间的空间_Css_Footer_Blogger - Fatal编程技术网

Css 获取页脚和页面底部博客之间的空间

Css 获取页脚和页面底部博客之间的空间,css,footer,blogger,Css,Footer,Blogger,出于某种原因,我的博客页面不允许我在页脚和页面底部之间创建透明空间。我希望页脚向上移动(尝试了边距和填充,但没有),这样可以看到大约10px的背景,但需要使用什么代码的帮助!请帮忙,谢谢 链接到博客:在css页面中添加以下内容: body { margin-bottom: 10px; } 我检查了您的页面并将其添加到.content-inner .content-inner { margin-bottom:10px; } 它似乎工作得很好。只需将此添加到css中即可 .content

出于某种原因,我的博客页面不允许我在页脚和页面底部之间创建透明空间。我希望页脚向上移动(尝试了边距和填充,但没有),这样可以看到大约10px的背景,但需要使用什么代码的帮助!请帮忙,谢谢


链接到博客:

在css页面中添加以下内容:

body { margin-bottom: 10px; }

我检查了您的页面并将其添加到
.content-inner

.content-inner {
    margin-bottom:10px;
}

它似乎工作得很好。

只需将此添加到css中即可

.content-cap-bottom.cap-bottom {
    height: 10px;
}
这将确保该分区保持“打开”,以便您可以看到其下方的背景