背景仅在选择文本时显示 - Chrome
background only shows when selecting text - Chrome
我遇到了一个奇怪的问题,我无法理解。在 firefox 和 IE 上,我的页脚背景图像显示正常,但在 chrome 上,它仅在我开始选择页脚文本或刷新页面时显示。
这是网站:
www.josephviatte.com
这是页脚的 CSS:
.site-footer {
background-color: #660000;
background-image: url("http://josephviatte.com/wp-content/uploads/manual-uploads/footer-bg.jpg");
color: white;
height: 260px;
padding: 50px 0;
margin-top: -5px;
margin-bottom: 0;
background-size: 100% 260px;
background-attachment: fixed;
background-position: 0 100%;
background-repeat: no-repeat;
}
有人知道吗?
提前致谢!
不确定,但我发现了一些错误:
.site-footer {
background-color: background-color: #660000;
这是无效的。
最后,我决定删除
背景附件:已修复;
当然,我的背景现在滚动起来有点难过,但至少它显示出来了。 Chrome 好像有固定背景的东西...
我遇到了一个奇怪的问题,我无法理解。在 firefox 和 IE 上,我的页脚背景图像显示正常,但在 chrome 上,它仅在我开始选择页脚文本或刷新页面时显示。
这是网站: www.josephviatte.com
这是页脚的 CSS:
.site-footer {
background-color: #660000;
background-image: url("http://josephviatte.com/wp-content/uploads/manual-uploads/footer-bg.jpg");
color: white;
height: 260px;
padding: 50px 0;
margin-top: -5px;
margin-bottom: 0;
background-size: 100% 260px;
background-attachment: fixed;
background-position: 0 100%;
background-repeat: no-repeat;
}
有人知道吗?
提前致谢!
不确定,但我发现了一些错误:
.site-footer {
background-color: background-color: #660000;
这是无效的。
最后,我决定删除 背景附件:已修复;
当然,我的背景现在滚动起来有点难过,但至少它显示出来了。 Chrome 好像有固定背景的东西...