如何让重复背景在 Firefox 中具有正确的位置偏移?
我正在 http://simplyclassicremodeling.com 上工作。文本和背景图像根据 Chrome 的需要放置; IE 有一个单独的问题 我在其他地方询问过,但是在 Firefox 中,背景图像不在预期的位置(文本在其应有的位置,但正文和标题的背景图像在在他们预期的左侧和上方分别的位置)。
如何让 Firefox 将背景放在与 Chrome 相同的位置?
I'm working on a site at http://simplyclassicremodeling.com. The text and background images are placed as desired for Chrome; IE has a separate issue I asked about elsewhere, but with Firefox the background images are not in the intended place (the text is where it's meant to be, but the background images for the body and the the header are to the left and above their intended position respectively).
How can I tell Firefox to put the backgrounds in the same place as Chrome?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Firefox 似乎没有正确解释
background-position-x
和background-position-y
,不知道这是否符合规范。只需像人们通常期望的那样使用background-position
即可,如下所示:当我通过 Firebug 编辑更改时,这适用于 8.0.1。
Firefox doesn't seem to be interpreting
background-position-x
andbackground-position-y
correctly, no idea whether that is correct or not per the specification. Just usebackground-position
as one would normally expect, like so:This worked for 8.0.1 when I edited in the changes through Firebug.