带有 CSS 精灵作为背景图像的表格将无法在 iPhone 上正确显示
我已经尝试了一切,但似乎没有什么能让我得到一致的结果...基本上,我在表格中设置了缩略图的图像网格,因为 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
好吧,经过几个小时寻找一个相当广泛的问题的答案后,我偶然发现了 此网站。显然,你的精灵不能超过 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