I added
window.fbAsyncInit = function() {
FB.Canvas.setAutoResize();
}
to my page so that my FB application can auto size. However my page doesn’t stop growing. It just keeps getting longer.
What am I doing wrong?
Maybe it was my styling. Things are working with these lines commented out.
body {
padding: 0 auto;
margin-top: 0px;
font-size: 8pt;
}
html, body, #wrapper {
/*height: 100%;*/
}
body > #wrapper {
/*height: auto;*/
/*min-height: 99.65%;*/
margin-top: -105px;
}
I’ll close this question if this works.
The the reason my page kept getting longer was because I had set height to 100% and then height to auto as seen above. Once I removed these lines the page resized normally.