0
我使用的是Wordpress响应式主题,希望有一个固定的背景。安卓浏览器和火狐的css
background-repeat: no-repeat;
background-position: top center;
background-attachment: fixed;
我发现,该网站不能正确显示在Android浏览器和海豚(仅后台看到,主体内容闪烁起来简单),如果我改变的背景
background-repeat: repeat;
background-position: top center;
background-attachment: scroll;
,并添加
html, body {
height: 100%;
}
这使得主体内容,以待观察,但随后在Firefox(机器人),你不能向下滚动页面看到所有的内容。在其他浏览器上,滚动速度很慢。 有没有办法使用在所有(大多数)手机浏览器上都能正常显示的固定背景? 谢谢。
是,背景卷轴和重复。 http://szpersonaltraining.co.uk/wp – user2475813