iframe creates a huge empty form.

  • beatsahead
    Asked on November 15, 2015 at 8:25 AM

    is there a way of correcting the large white border when using iframe?

    without the iframe, it is correctly positioned and on a smaller screen there is not the extraneous white border.

    Jotform Thread 705022 Screenshot
  • Carina
    Replied on November 15, 2015 at 1:47 PM

    At the moment you are not using the iFrame method, but from my tests you are referring to this border:

    iframe creates a huge empty form Screenshot 20

    You can test and clone the demo form:  

    https://form.jotform.com/53185424523958? 

    In addition you can also adjust the height of the iFrame code, like in the example below:

    <iframe id="JotFormIFrame" onDISABLEDload="window.parent.scrollTo(0,0)" allowtransparency="true" src="https://form.jotform.com/53185424523958" frameborder="0" style="width:100%; height:680px; border:none;" scrolling="no"> </iframe>

    Let us know if we can assist you further.   

  • beatsahead
    Replied on November 16, 2015 at 3:16 PM

    I've not been leaving it in place as it looks so bad, I've changed the iframe height to 100px and it still looks the same.

  • David JotForm Support Manager
    Replied on November 16, 2015 at 6:28 PM

    Have you tried embedding the sample form my colleague provided you? If not, please remove the current  embedding form, clone her form in your account and embed it in your site. Try with the Embed code method:

    iframe creates a huge empty form Screenshot 20

  • beatsahead
    Replied on November 17, 2015 at 4:04 AM

    Thanks for all suggestions, but I will leave leave it with the source code, as it is giving me the best results,

    can you let me know what to put in to get the submit button level with the other fields please?
  • Carina
    Replied on November 17, 2015 at 5:26 AM

    I moved your question to a new thread as it is a different situation. You will find your answer here:

    http://www.jotform.com/answers/706154 

     

    Let us know if we can assist you further.