Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/83.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_Responsive Design_Removing Whitespace - Fatal编程技术网

Html 重新调整窗口大小时页脚下方和上方的空白

Html 重新调整窗口大小时页脚下方和上方的空白,html,css,responsive-design,removing-whitespace,Html,Css,Responsive Design,Removing Whitespace,我的页脚上下都有空白,有一个缺口,请检查下面的css .footer { background-image: url("../images/footer_image.png"); background-repeat: no-repeat; background-size: 100% auto; float: left; height: auto; width: 100%; } .footer_bg { background-image: url("../images/foote

我的页脚上下都有空白,有一个缺口,请检查下面的css

.footer {
background-image: url("../images/footer_image.png");
background-repeat: no-repeat;
background-size: 100% auto;
float: left;
height: auto;
width: 100%;
        }

.footer_bg {
background-image: url("../images/footer_bg.png");
background-repeat: no-repeat;
background-size: 101% auto;
height: 232px;
margin-top: 12.1%;
width: 100%;
}

我在你的网站上看到了一个8px的身体边缘。添加此项或删除现有项

body{
margin:0;
padding:0;
}

错误

页面正文上有8px的边距

我在您添加的my style.txt中看到

!important .body
{ margin:0 !important; 
 padding:0 !important; 
}
这需要:

body
{ 
margin:0 !important; 
padding:0 !important; 
}

我刚刚添加了,但没有响应。请尝试添加
!重要信息
.body{margin:0!重要;padding:0!重要;}
我已经在mystyle中添加了这个代码。css走对了吗?是的。但我已经检查了网站,仍然没有任何变化。或者你只是在本地更新了它?请现在@a_enriquez检查一下