[英]Iframe 100% height not working
I created side panels for the client and the height of 100% in absolute position is not showing anything in the iframe. 我为客户端创建了侧面板,并且绝对位置中100%的高度未在iframe中显示任何内容。 Below is the attached image of the iframe (id starts with ebDiv), the height has changed to 100% and it shows nothing.
下面是iframe的附加图片(id以ebDiv开头),高度已更改为100%,并且没有显示任何内容。 I am setting height to 920px to make it work but it should be 100% and if i change the position from fixed to absolute and height 100% then it works but 100% height is not showing in absolute position.
我将height设置为920px以使其正常工作,但应该为100%,如果我将位置从固定更改为绝对,并将height更改为100%,则可以工作,但是100%的高度未显示在绝对位置。
获取窗口高度并将其分配给iframe。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.