IE9 png和background属性 [英] IE9 png and background property
问题描述
我有一个问题在这里,我正在一个项目,正在使用firefox和chrome。
现在我在IE测试。我认为所有的广告关于IE9,它会看起来很棒,或至少不打破任何东西。
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.
我有几个问题:
我使用一些png图片。即使图像显示,我有一个小红十字上面。我真的不明白为什么...你可以在这里看到: http: //www.hostingpics.net/viewer.php?id=173809Sanstitre.png
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
在同一张图片中,您可以看到属性background-repeat :repeat-x不工作。有趣的是,在开始它是工作,当页面完成加载,它拧紧一切: http: //hpics.li/feebab4
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
编辑:哦,有时IE9添加了一些东西在我的图像内联:
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 =projetsrc =x.gif
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"
这可能是一个插件问题,我在wordpress中使用,但我看不到哪个,这里是我使用的插件:
高级自定义字段
联系表格
tinyMCE
用户角色编辑器
wp-slidinglogindashboardpanel
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
推荐答案
IE9 +完全支持这两个属性。你使用任何png'fixes'为IE6,如JavaScript替换或DX过滤器?他们可以干扰。
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.
这篇关于IE9 png和background属性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!