iFrame content doesn't show in IE8 [duplicate]

六月ゝ 毕业季﹏ 提交于 2019-12-01 22:27:38
KyleMit

For visibility of Lukx's comment, the real answer is to set position:relative on the iframe itself, since you might not have the ability to edit the html source page or it might need to use relative positioning.

Just add this CSS and you should be all set:

iframe {
    position: relative;
}

I wrote up a full description of the problem in this answer

Found it.

The iframed content had the following css rule:

html{ position: relative; }

Removing it helped a lot.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!