Extra uneeded whitespace on form

  • Profile Image
    Asked on March 12, 2014 at 06:58 PM

    Hello! Anyone know how I can get rid of the white space below my form? : ) Here is my code below.




    <iframe id="JotFormIFrame" onload="window.parent.scrollTo(0,0)" allowtransparency="true" src="https://secure.jotform.us/form/40541781825153" frameborder="0" style="width:100%; height:100%; border:none;" scrolling="auto"></iframe>

    <script type="text/javascript">window.handleIFrameMessage = function(e) {var args = e.data.split(":");var iframe = document.getElementById("JotFormIFrame");if (!iframe)return;switch (args[0]) {case "scrollIntoView":iframe.scrollIntoView();break;case "setHeight":iframe.style.height = args[1] + "px";break;}};if (window.addEventListener) {window.addEventListener("message", handleIFrameMessage, false);} else if (window.attachEvent) {window.attachEvent("onmessage", handleIFrameMessage);}</script>


    Even though I changed these attributes in bold. The height automaticly assigns itself when I reload the page.

    The extra whitespace on the form seems to size itself to the longest page of the multi=page form. If I could reduce the white space it would make the page look much better.

    Any help would be great!

  • Profile Image
    Answered on March 12, 2014 at 07:43 PM

    This question have been moved please see new post: