[英]how to set iframe height to 100% with javascript
He is actually using CSS to do this on this page: 他实际上是在此页面上使用CSS进行此操作:
#mkbnavbar iframe#srcpage {
height: 90%;
width:100%;
z-index: 10;
margin: 0; padding: 0;
-webkit-box-sizing: border-box;
}
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.