带有 CSS 精灵作为背景图像的表格将无法在 iPhone 上正确显示

发布于 2024-10-21 13:26:40 字数 439 浏览 6 评论 0原文

我已经尝试了一切,但似乎没有什么能让我得到一致的结果...基本上,我在表格中设置了缩略图的图像网格,因为 rowspan 很容易地给我带来了我需要的效果(它的设置就像一个网格,但有些照片的大小是其他照片的两倍)。它在每个浏览器上都显示良好,但当它在 iPhone 上显示时,就好像随机选择显示图像并在随机位置显示,有时重复,没有押韵或原因......我以为这只是我的缓存或其他东西,所以我清除了它并在其他手机上尝试过,但无济于事!

不管怎样,页面是:www.ivryaudio.com/index.html。请!我请求你的帮助。这里还有一个链接,指向问题的屏幕截图。

I've tried everything, but nothing seems to get me a consistent result...basically, I have an image grid of thumbnails that I set up in a table due to the fact that rowspan got me the effect that I needed very easily (it's set up like a grid, but some of the photos are double the size of others). It displays fine across every browser, but when it displays on the iphone, it's as if random images are chosen to show and in random positions, sometimes repeated, with no rhyme or reason...I thought it was just my cache or something, so i cleared it and tried it on other phones, but to no avail!

Anyway, the page is: www.ivryaudio.com/index.html. Please! I beg your assistance. Here's a link to a screenshot of the problem as well.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

执妄 2024-10-28 13:26:41

好吧,经过几个小时寻找一个相当广泛的问题的答案后,我偶然发现了 此网站。显然,你的精灵不能超过 1024x1024,否则它会开始错误地重新定位。希望遇到这个问题的其他人会比我更快找到这个答案:0

Ok, after hours of searching for the answer to a problem that was pretty broad, I stumbled on this site. Apparently, your sprite can't be over 1024x1024 or it starts repositioning incorrectly. Hopefully someone else who has this problem will find this answer quicker than i did :0

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文