简体   繁体   English

Safari在底部切断固定图像?

[英]Safari Cuts off fixed image at the bottom?

I have set up an image to be shown at the bottom of every page on a wordpress site using the css below. 我使用下面的css设置了一个图像,显示在wordpress网站上每页的底部。 It displays correctly within chrome and firefox however in safari it seems to site lower? 它可以在chrome和firefox中正确显示,但在野生动物园中它的位置似乎更低? perhaps because of the elastic scroll affect? 也许是因为弹性滚动影响了?

http://forever.electricmustard-dev.co.uk/home/ http://forever.electricmustard-dev.co.uk/home/

I think if you remove the background-attachment: fixed; 我认为,如果您删除了background-attachment: fixed; CSS property from the footer ( #mk-footer ) or change it to background-attachment: initial; 来自页脚( #mk-footer )的CSS属性,或将其更改为background-attachment: initial; in your stylesheet it'll work. 在您的样式表中,它将起作用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM