IE中png文件的透明度(Transparency of png files in IE)
我在css中设置了背景图像比内容部分略大,以便在y背面有一个阴影,但是在IE中它没有显示透明度。 我用谷歌尝试解决这个问题,没有运气在css中完成图像。
CSS:
#shadow{ width:854; margin-left:auto; margin-right:auto; text-align:left; background-image:url(shadow.png); background-repeat:repeat-y; }HTML:
<div id="shadow"> </div>任何帮助都非常感谢,因为我完全失去了这一点。
I have it set up in css to have the background an image slightly bigger than the content section so as to have a shadow behind it that repeats in the y direction but in IE it doesn't show the transparency. I have used google to try to solve this problem with no luck having done the image in css.
CSS:
#shadow{ width:854; margin-left:auto; margin-right:auto; text-align:left; background-image:url(shadow.png); background-repeat:repeat-y; }HTML:
<div id="shadow"> </div>Any help is greatly appreciated as I at a total loss on this.
最满意答案
可以在这里找到一个非常好的IE6修复程序
我用它,可以保证它的工作原理。
虽然是JS,但是大多数人最近都开启了它
A very nice png fix for IE6 can be found here
I used it and can assure u it works.
It is JS though, but most people have it turned on lately
更多推荐
发布评论