对于用作 html 元素背景的 png/jpg 图像,Internet Explorer 6、7 和 8 的跨浏览器兼容性问题
Cross browser compatibility issue of Internet Explorer 6, 7 and 8 for png/jpg image used as background of an html element
当我使用 png/jpg 图像作为我的 html 文档元素的背景时,它与 Internet Explorer 6、7 和 8 不兼容。如何解决此跨浏览器兼容性问题?
Alhamdulillah!我已经解决了我的问题。
当我使用背景 属性 和 rgba 颜色值时
背景:url("images/cross.png") 无重复滚动左中 rgba(0,0,0,0,),
该代码不兼容IE 6,7和8。图像是png还是jpg都没有关系。
所以,我们必须使用不带颜色的 属性 或像
这样的十六进制颜色代码
背景:url("images/cross.png") 无重复滚动左居中;
要么
背景:url("images/cross.png") 无重复滚动左中心#000;
那就兼容吧
谢谢
当我使用 png/jpg 图像作为我的 html 文档元素的背景时,它与 Internet Explorer 6、7 和 8 不兼容。如何解决此跨浏览器兼容性问题?
Alhamdulillah!我已经解决了我的问题。
当我使用背景 属性 和 rgba 颜色值时
背景:url("images/cross.png") 无重复滚动左中 rgba(0,0,0,0,),
该代码不兼容IE 6,7和8。图像是png还是jpg都没有关系。
所以,我们必须使用不带颜色的 属性 或像
这样的十六进制颜色代码背景:url("images/cross.png") 无重复滚动左居中; 要么 背景:url("images/cross.png") 无重复滚动左中心#000;
那就兼容吧
谢谢