You can use this javascript function to resize the height of your iframe depending on the size of your parent page.

JAVASCRIPT:
  1. <script language="JavaScript">
  2. function iFrameHeight() {
  3. if(document.getElementById &amp;&amp; !(document.all)) {
  4. h = document.getElementById('main').contentDocument.body.scrollHeight;
  5. document.getElementById('main').style.height = h + 100;
  6. }
  7. else if(document.all) {
  8. h = document.frames('main').document.body.scrollHeight;
  9. document.all.main.style.height = h + 100;
  10. }
  11. }