开发者

Facebook - Maximum iframe width? [closed]

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making开发者_开发技巧 this question more broadly applicable, visit the help center. Closed 11 years ago.

This question is obsolete. See here for an updated version.


Is there a maximum width an iframe Facebook application can be?


760 pixels

This line is here to achieve the minimum required characters in an answer.


I just played with it and to the pixel 758 760 was the largest I could go with out a scroll bar.

Edit: As portman has pointed out I had forgotten about borders. Please upvote his answer.


Be careful when using 760px though, I have often found you actually get a few less than they promise. I usually shoot for 740px to ensure I don't get any scroll bars.


I solved this problem by adding public css style in application page and I got 760 px

<style>
* {
margin:0;
padding:0;
}
</style>
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜