Why is my form fully centered on Jotform but completely left aligned when downloaded?

  • transpay
    Asked on July 28, 2015 at 8:56 PM

    When I preview my form from Jotform, the form is completely centered to the page. However, when I download it, it always left aligns. Is there a way to circumvent this?

  • Charlie
    Replied on July 28, 2015 at 11:56 PM

    Hi,

    I believe this is because you have embedded your form's full source code, the styling and the other scripts seems to have conflicted with your website's own code and styling.

    To fix this, you can try embedding using the iFrame embed code instead, that should prevent any other styling or script codes to conflict with yours.

    I hope that helps.

  • transpay
    Replied on September 1, 2015 at 2:43 PM

    Hi Charlie, 

    I tried using the iframe method and it is still left aligned. http://pi.transpay.global/l/77232/2015-07-21/4gxby

  • Ben
    Replied on September 1, 2015 at 4:30 PM

    I took a look at that page and I see that it is not the iframe embed code that my colleague had in mind. The iframe code he mentioned can be retrieved following these steps: How to get the jotform iFrame Code

    The iframe that you have used has extra modifications done to it by yourself and there is something that causes even the form to be set at 47px of height - this can not be seen, but it impacts how other elements are set.

    Now to see which one is how effected and by what code, it would require someone to check each element, so the best option is to use the iframe embed code mentioned above - which will of course submit to our website - not to pardot.com

    If the same issue is still present, do take a screenshot of the same so that we can better understand what is the issue - since the above form's content was in the center of the page for me on my FireFox.