开发者

make div that contains an iframe dynamic?

开发者 https://www.devze.com 2022-12-20 21:40 出处:网络
I have a div container and in it is an iframe. The iframe\'s height is dynamic meaning it changes with the content. The problem is that the div container\'s height doesn\'t dynamically change with the

I have a div container and in it is an iframe. The iframe's height is dynamic meaning it changes with the content. The problem is that the div container's height doesn't dynamically change with the iframe's height开发者_开发问答. How do I make the div container's height change dynamically?

Thanks


If javascript is an option, you can try this.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号