internet-explorer - IFrame 背景图像在 IE6 和 IE7 中不显示

标签 internet-explorer iframe background-image

我需要帮助。 它在 Firefox 或 Opera 中工作正常。 问题出在 ie 中。 我尝试将其放入样式文件或内联样式但没有效果。

最佳答案

您是否尝试过在iframe上设置allowTransparency="true"并将子框架的文档正文背景颜色设置为透明?

请参阅有关allowTransparency 的MSDN 文档:

http://msdn.microsoft.com/en-us/library/ms533072(VS.85).aspx

关于internet-explorer - IFrame 背景图像在 IE6 和 IE7 中不显示,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1037921/

相关文章:

css - 修复了导致 Chrome 滚动缓慢的背景图片

javascript - 我可以强制在特定浏览器中打开链接吗?

javascript - 尝试使 IE 在文本框中的 Enter 键上触发更改

java - HTTP状态: '500' -> incorrect JSON status mapping for 'timeout' (408 expected) while clicking element with IEDriverServer Selenium and Java

c# - 监听 Internet Explorer 下载事件

javascript - 在动态加载的 iframe 中设置样式

loops - 无需刷新屏幕的 YouTube 嵌入式视频自动循环

css - 内联 SVG 在 IE 中不能用作背景图像

Vue.js 渲染 v-bind :style background-image url with custom computed property does not work

javascript - 在不使用 iframe 的情况下将聊天机器人集成到网站中