2014-04-01 70 views
1
<td width=100% style="vertical-align:baseline;height:500px;background-color:#fff;background:url('hjadshjkwqueqejbjbqwbeg110054roads.jpg') no-repeat fixed;background-size:cover;background-color:#fff"> 

这个问题只是在Firefox面临。
任何帮助,将不胜感激。 :)背景位置固定不起作用在Firefox中

+0

我看到一个答案,他们在谈论searchandshare.css。我不知道那是什么。 –

+0

创建一个小提琴,以显示您的确切问题。 – Era

回答

1

我发现你的代码有些失败。再试一次。

<td style="width: 100%; background-color: #FFFFFF; vertical-align:baseline; height:500px; background: url('path/to/you/image.png') no-repeat center center fixed; background-size: cover; -moz-background-size: cover; -webkit-background-size: cover; -o-background-size: cover;"> 
+0

不,它没有..:| –

+0

它适用于我的浏览器。 – asd

+0

Firefox?我想为Firefox的解决方案。你有没有检查链接? –