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 CSS调整屏幕大小会导致页脚显示错误_Html_Css_Footer - Fatal编程技术网

Html CSS调整屏幕大小会导致页脚显示错误

Html CSS调整屏幕大小会导致页脚显示错误,html,css,footer,Html,Css,Footer,我正在写这一页, 当屏幕调整大小时,页脚显示不好 以下是页脚的CSS: #footer_1 { background: url("../images/bgfooter2.png") repeat-x scroll 0 0 rgba(0, 0, 0, 0); width: 100%; } 我想让页脚填充屏幕的宽度,不管屏幕大小如何 我试图修复页脚,但它对我的高度不起作用。当内部元素崩溃时,徽标会将其向下推。取消固定高度。你能解释一下你希望发生什么吗?你的网站有很多问题。我个人

我正在写这一页,

当屏幕调整大小时,页脚显示不好

以下是页脚的CSS:

#footer_1 {
    background: url("../images/bgfooter2.png") repeat-x scroll 0 0 rgba(0, 0, 0, 0);
    width: 100%;
} 
我想让页脚填充屏幕的宽度,不管屏幕大小如何


我试图修复页脚,但它对我的高度不起作用。当内部元素崩溃时,徽标会将其向下推。取消固定高度。

你能解释一下你希望发生什么吗?你的网站有很多问题。我个人会建议完全重做该网站。增加或减少宽度等会导致元素与其他元素重叠。是否有一个起点来解决此问题?是否可能是因为主体元素的背景大小为1600*904??