所有浏览器(不包括Internet Explorer 6)都能正常工作。png
图像显示它们后面的白色背景。如何摆脱它们在Dojo。我正在使用dojo版本1.5。Dojo Internet Explorer 6 png问题
回答
IE6不能正确支持PNG透明度。它有几个已知的错误。
有窍门绕过它 - 尝试IEPNGFix,但也有其他几种可用的黑客变种。
我知道这些修复,但我想要一个使用Dojo。 –
@imran:你为什么要使用Dojo?这些修补程序几乎不使用任何JS(除了BG重复修复)。 –
我正在使用dojo遍历我的应用程序执行其他任务。这就是为什么我想要这个修复也在道场。 –
您是否尝试过添加alfa滤镜?像这样:
style="background:url('/upload/contents/371/dish-main2.png ');
background: expression('none');
filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=/upload/contents/371/dish-main2.png, sizingMethod=crop);
可以帮助您使用IE6。
看起来不错,但是如何在中使用它;因为没有背景图片。 –
哦,对不起。这是空的透明gif代码:http://ambar.rosinter.ru/upload/images/d-t.gif(这是为了简单的保护图像被窃取)。不幸的是,我不能在没有这种攻击的情况下制作这些代码。 – VMAtm
- 1. Internet Explorer 6 - DIV问题
- 2. Internet Explorer PNG CSS不透明度问题
- 3. 在Internet Explorer 6中的透明PNG
- 4. 与Internet Explorer空间问题6
- 5. Internet Explorer 6 CSS加载问题
- 6. 奇怪的Internet Explorer 6问题css
- 7. jQuery的高度()问题与Internet Explorer 6
- 8. Dojo,setAttribute with Internet Explorer
- 9. Internet Explorer问题
- 10. 的Internet Explorer 8和Internet Explorer 6并排
- 11. Internet Explorer的问题
- 12. Internet Explorer Div问题
- 13. Internet Explorer Padding问题
- 14. Internet Explorer DOM问题
- 15. Internet Explorer - JavaScript问题
- 16. Internet Explorer的问题
- 17. Internet Explorer UI问题
- 18. Internet Explorer CSS问题
- 19. Internet Explorer的问题
- 20. 问题在Internet Explorer
- 21. Websocket问题Internet Explorer
- 22. Internet Explorer的6/7
- 23. IE 6 PNG问题
- 24. Internet Explorer缓存问题
- 25. Internet Explorer Javascript Image问题
- 26. JQuery Rating Internet Explorer问题
- 27. Internet Explorer 6的Z-指数
- 28. Internet Explorer 11:Mouseenter Mouseleave问题
- 29. 在Internet Explorer 6中访问SELECT的值
- 30. Internet Explorer 6+ https缓存
作者:“Dojo”你是指Dojo发行版中的一个特定映像,它需要CSS修正才能在IE6上正确显示,或者是一些更一般的机制? Dojo和Dijit有gif和CSS让事情看起来正确,在IE6中,IIRC – peller
在我的应用程序中有一些圆角的图像。他们在PNG。你建议我做什么? IePngFix或任何其他解决方案。 –
IE6无法正确处理PNG。您需要使用“*”和“_”技巧在浏览器为IE6时将图像指向GIF图像 - 使用CSS。在Dojo中,您可以检查dojo.isIE属性,如果它是6,那么您可以用GIF替换PNG图像的URL。 –