IE不支持透明样式 [英] Transparent style is not supported in IE
本文介绍了IE不支持透明样式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
亲爱的朋友,
我在文本"框中使用了透明样式.但是它可以正常运行,但不能在IE中使用.
请提出建议,我该怎么办.
问候,
AP
Dear Friends,
I have used transparent style in Text box. But its working Chrome but not in IE.
Kindly suggest, what can I do.
Regards,
AP
推荐答案
我相信您正在寻找此设置(适用于IE8及以下版本):
I believe that you are looking for this setting (for IE8 and below):
filter:alpha(opacity=50);
如果将其放在CSS中,则将对文本框应用50%的透明度.这与设置其他浏览器的不透明度相同:
That would apply 50% transparency to the text box if you put it in the CSS. This would be the same as setting the opacity when it comes to other browsers:
opacity:0.5;
以下是有关如何设置适用于不同浏览器的透明度的更多信息:
http://www.w3schools.com/css/css_image_transparency.asp [
Here is more information on how to set transparency that will work for the different browsers:
http://www.w3schools.com/css/css_image_transparency.asp[^]
这篇关于IE不支持透明样式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文