IFrame背景透明在IE [英] IFrame background transparent in IE
本文介绍了IFrame背景透明在IE的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
所以我有这个iFrame与类.transparentbg:
.transparantbg {
background-color:transparent ;
}
这在Chrome中可以正常工作, >
帮助?
问候
解决方案
为您的iframe添加allowTransparency =true。
< IFRAME ID =Frame1SRC = whatever.htmallowTransparency =true>
对于whatever.htm add background:transparent
< body style =透明>
So i have this iFrame with the class .transparentbg:
.transparantbg{
background-color: transparent;
}
This works fine in Chrome, but not in IE...
Help please?
Greetings
解决方案
Add allowTransparency="true" to your iframe
<IFRAME ID="Frame1" SRC="whatever.htm" allowTransparency="true">
For whatever.htm add background:transparent
to its body
tag.
<body style="background:transparent">
这篇关于IFrame背景透明在IE的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文