0

No matter what I make the size of the IFrame, the website within won't fit it.

I've tried a number of things but none of them seem to work.

There is also a vertical scrollbar but I'm fine with that being there. But horizontally, I'd like the website to "wrap" the IFrame window perfectly such that there is no need for the horizontal scrollbar. How to do this? Thanks!

4

2 回答 2

0

我把网站放在同一个域上(它不在同一个服务器上,但服务器归我们公司所有),这似乎已经解决了。

于 2013-07-26T15:46:04.860 回答
0

iFrames 有点.. 奇怪(和有点不好的做法,但没关系)...

<iframe id="treeFrame" frameborder="0" width="100%" scrolling="no" ></iframe> 

你需要设置 src 虽然......

于 2013-07-26T15:48:46.253 回答