Safari 在底部切断固定图像? [英] Safari Cuts off fixed image at the bottom?

查看:29
本文介绍了Safari 在底部切断固定图像?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经使用下面的 css 设置了一个要显示在 wordpress 站点上每个页面底部的图像.它在 chrome 和 firefox 中正确显示,但在 safari 中似乎位置较低?也许是因为弹性滚动的影响?

I have set up an image to be shown at the bottom of every page on a wordpress site using the css below. It displays correctly within chrome and firefox however in safari it seems to site lower? perhaps because of the elastic scroll affect?

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

推荐答案

我想如果你从页脚中移除 background-attachment: fixed; CSS 属性 (#mk-footer) 或在样式表中将其更改为 background-attachment: initial; 即可.

I think if you remove the background-attachment: fixed; CSS property from the footer (#mk-footer) or change it to background-attachment: initial; in your stylesheet it'll work.

这篇关于Safari 在底部切断固定图像?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆