If you're using CSS sprites as background images for links or buttons, you'll notice that the image will flicker briefly in Internet Explorer 6. The reason is because IE6 doesn't properly cache the background image and reloads it every time. You can fix this with a single line of JavaScript that forces IE6 to cache the image.
本文介绍了一种解决IE6浏览器中使用CSS精灵作为链接或按钮背景图片时出现的闪烁问题的方法。通过简单的JavaScript代码即可强制IE6缓存背景图片。
7349

被折叠的 条评论
为什么被折叠?



