How can I center an embedded form without having the fields being aligned also?

  • renezubiri
    Asked on December 2, 2014 at 3:53 AM

    I have embedded a form on my website, yet when I apply the <center> tag, so the form is on the center of the page; the website, the fields also become center-aligned and I want them to stay on the left.

     

    I am attaching a screenshot of how I would like the fields to be aligned. 

    Jotform Thread 467952 Screenshot
  • Ashwin JotForm Support
    Replied on December 2, 2014 at 6:33 AM

    Hello renezubiri,

    That is because you have used your form's source code to embed it in your web page.  If you check your form's direct URL, the alignment seems to be good. Please check the screenshot below:

    How can I center an embedded form without having the fields being aligned also? Image 1 Screenshot 20

    I would suggest you to embed your form using its iFrame embed code and then you can align the iFrame to be aligned on center. The following guide should help you grab your form's iFrame embed code:  http://www.jotform.com/help/148-Getting-the-Form-iFrame-Code

    Do embed your form using its iFrame embed code and get back to us if you have any issue, we will surely help you.

    We will wait for your response.

    Thank you!