首先,贴上这是html
<iframe frameborder='0' scrolling='yes' src='https://www.baidu.com/' width="400" height="200">
</iframe>
然后图片:
chrome上正常:如下
但是在ie下就不能显示了
求这是什么原因呢?应该怎么解决呢?
首先,贴上这是html
<iframe frameborder='0' scrolling='yes' src='https://www.baidu.com/' width="400" height="200">
</iframe>
然后图片:
chrome上正常:如下
但是在ie下就不能显示了
求这是什么原因呢?应该怎么解决呢?
10 回答11.2k 阅读
5 回答4.8k 阅读✓ 已解决
4 回答3.1k 阅读✓ 已解决
2 回答2.8k 阅读✓ 已解决
3 回答2.3k 阅读✓ 已解决
3 回答2.2k 阅读✓ 已解决
2 回答2.6k 阅读✓ 已解决
具体原因IE官方博客在2011年发了博文解释了这个安全措施(链接Internet Explorer 9 Security Part 4: Protecting Consumers from Malicious Mixed Content),年久失修,图片都不见了。结论就是不要混用HTTP和HTTPS的页面和资源,否则很不安全。
对于你的情况,StackOverflow这个问题底下的答案阐述了这是一种安全性很差的设计。