Firefox不显示整个精灵图像 [英] firefox not showing whole sprite image

查看:109
本文介绍了Firefox不显示整个精灵图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建了一个大小为100x12000像素的sprite图像,并创建了一个Web应用程序,该应用程序以适当的位置使用此图像图标.它可以在Chrome,Opera和IE中运行,但在Firefox 35中仅显示图像的一半图标,图像的其他部分显示为空白.会是什么问题?喜欢给定的图像

I have created one sprite image which size is 100x12000 pixels and created one web application which use this image icons with proper poistion. It works in Chrome, opera and IE but in Firefox 35 it shows only half icons of image other part of image shows blank. what will be the problem? like given image

谢谢. 桑迪

推荐答案

如果图像很长,这是Firefox中的已知问题.在禁用硬件加速的情况下,程序最多可以处理32,766像素的高度或宽度.您可以在此线程中获得更多痛苦的细节:此图像无法显示,因为它包含错误" .

If the image is very long, this is a known problem in Firefox. The most the program can handle with hardware acceleration disabled is a height or width up to 32,766 pixels. You can get more of the painful details in this thread: "This image cannot be displayed because it contains errors".

这篇关于Firefox不显示整个精灵图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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