0

我有这个网站:http ://thc-racing.ucoz.com/index/forum/0-14 可以看到iframed论坛下面有很大的空间,我做的就是为了能显示多少导航时可以但是,有什么办法可以在加载每个页面后调整高度?

代码:

<iframe 
style="-moz-border-radius:10px; 
       -webkit-border-radius:10px; 
       border-radius:10px" 
height="4800" width="900" 
frameborder="0" src="http://thc-racing.forumotion.co.uk/"></iframe>

我可以访问论坛上的 CSS 和脚本。谢谢

4

1 回答 1

0

在调整 iframe 的宽度高度以适应其中的内容有一个类似的问题,您可以使用提供的代码并修改它以使用您自己的常量值调整宽度和高度,而不是像接受的代码中提供的那样自动调整答案是。

于 2013-09-12T11:48:26.330 回答