IE9 png and background property

早过忘川 提交于 2019-12-13 05:00:55

问题


I have an issue here, I'm working on a project which is properly working in firefox and chrome. Now I'm testing in IE. I thought with all the advertising about IE9, it would look great, or at least not break anything.

I have several problems though :

I use some png images. And even if the images are showing, I have a little red cross above it. And I really don't understand why ... you can see it here : http://www.hostingpics.net/viewer.php?id=173809Sanstitre.png

In the same pic, you can see that the property background-repeat : repeat-x is not working. The funny thing about this, is that at the beginning it is working, and when the page finishes to load, it screw everything : http://hpics.li/feebab4

Does anyone have an idea what can be the cause of that ? Thanks

EDIT : Oh also, sometimes IE9 is adding some stuff in the inline of my images like :

style="width: 171px; height: 52px; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='http://localhost/Sites/promenadeSteCatherine/wp-content/themes/promenadeSteCatherine/img/menuGauche/titre_projet1.png', sizingMethod='scale');" alt="projet" src="x.gif"

It might be a problem with a plugin I'm using in wordpress, but I don't see which one, here is the plugins I'm using : Advanced Custom Fields Contact form tinyMCE user role editor wp-slidinglogindashboardpanel


回答1:


Both properties are fully supported by IE9+. Are you using any png 'fixes' for IE6, like JavaScript replacement or DX filters? They could be interefering.



来源:https://stackoverflow.com/questions/12438248/ie9-png-and-background-property

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!