In the following case, we are using an iFrame to render a page tab in our Facebook page. The page in the iFrame is hosted on a different server.
1. First of all, we need to setup the Facebook app canvas settings accordingly (in the advanced settings of the app):
2. Then using javascript we’ll ask Facebook to resize the frame automatically. Add the following code inside your page <head>:
1 2 3 |
3. Finally, we need to force our body and html tag to avoid scroll bars. In your style sheet add the following:
1 2 3 4 5 | body, html { overflow:hidden; } |
or inline with the html code:
This has worked for me to remove all the scroll bars. It’s working on the 18th of October, but because Facebook keep changing their code, it may change in the future.



