iframe creates a huge empty form.

  • Profile Image
    beatsahead
    Asked on November 15, 2015 at 08: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.

  • Profile Image
    Carina
    Answered on November 15, 2015 at 01:47 PM

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

    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" onload="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.   

  • Profile Image
    beatsahead
    Answered on November 16, 2015 at 03: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.

  • Profile Image
    BDAVID
    Answered on November 16, 2015 at 06: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:

  • Profile Image
    beatsahead
    Answered on November 17, 2015 at 04: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?
  • Profile Image
    Carina
    Answered on November 17, 2015 at 05: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.