What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.

  • Profile Image

    iframe alignment and scroll bars

    Asked by tyreid on May 12, 2012 at 07:00 PM

    Hi there,

    I tried referring to the previous post on this but couldn't get it to work for my setup. I'm running a payment form as an iframe on my site, however I'm using an html document hosted on my server called 'pat' (http://pacificalpineguides.com/pat.html) so that I can modify the Authorize.net form for use in Wordpress. All looks fine except there's something going on with the iframe where it's not centering properly, most noticable by the submit button at the bottom. Any thoughts would be great! The code I'm using is

    <iframe allowtransparancy="true" style="width: 100%; height: 970px; border: none;" src="//pacificalpineguides.com/pat.html" frameborder="0" scrolling="no" align="left" width="320" height="240"></iframe>

    Page URL:

  • Profile Image

    Answered by tyreid on May 12, 2012 at 07:00 PM

    I mentioned scroll bars in the title because they show up if scrolling is set to 'auto'.

  • Profile Image
    JotForm Support

    Answered by idarktech on May 13, 2012 at 01:09 AM


    Try re-embedding your iframe code using this:

    <iframe allowtransparancy="true" style="width: 555px; height: 1068px; border: none;" src="//pacificalpineguides.com/pat.html" frameborder="0" scrolling="no" align="left"></iframe>

    Then center your form button and other elements by adding this css code to your pat.html file, be sure to add it under existing css codes.


    text-align: center !important;



    width: 529px !important;



    width: 230px !important;


    Hope this helps. Please let us know if you need any further assistance. Thanks!