IE 6.x 中的 Alpha 通道
Possible Duplicate:
How to get PNG transparency working in browsers that don't natively support it?
How do I get IE 6.x to display png files correctly?
I have a designer insisting on drop shadows over a background pattern, and customers who for some reason insist on using IE 6.x
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
尝试在谷歌上搜索“png hack”...会出现这个和此
编辑:
不知怎的,这个< /a>
try to search google for "png hack" ... brings up this and this
edit:
somehow a dublicate of this
您的设计师是否绝对坚持 IE6 中存在投影? 浏览器的市场份额每天都在减少。 或者他会因为大多数使用更现代浏览器的用户看到阴影而感到高兴吗?
这可能是技术决策,基于您站点当前和预计的 IE 6 使用情况统计数据,以及实施这些投影的成本。 但不要害怕从技术成本/收益的角度进行争论,事实上并非所有浏览器都需要以相同的方式呈现您的网站。
Does your designer absolutely insist on the drop shadows being there in IE6? A browser thats market share is diminishing everyday. Or will he be happy that the majority of users that are using a more modern browser will see the shadows.
This could be technical decision, based on your sites current and projected statistics for IE 6 usage, vs the cost of implementing these drop-shadows. But don't be afraid to argue it from a technical cost/benefit perspective, and the fact that not all browsers need to render your site identically.
您可以直接使用 AlphaImageLoader,也可以通过包装它的许多脚本来使用 AlphaImageLoader。 我个人推荐 IE7 因为它解决了许多其他 IE6 问题,而不仅仅是 alpha 透明度。
此外,对于某些布局,可能完全没有透明度,但仍然看起来像设计师想要的那样。 我不知道它是什么样子,所以我不能肯定地说。
You could use the AlphaImageLoader either directly or through many scripts that wrap over it. Personally i recommend IE7 because it solves a lot of other IE6 problems, not just alpha transparency.
Also, with some layouts, it might be possible to go without transparency at all and still have it look like your designer wants. I don't know what does it looks like, so i can't say for sure though.