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

    How to Center the Form?

    Asked by ErbertAndGerberts on November 02, 2016 at 10:49 PM

    Is there a way to center the web form? I created a form from a JotForm template. The default width is 580px, which is fine. But the form is right aligned on a desktop webpage. How can I get the form to center align to the overall page width?

     

    Page URL:
    https://form.jotform.com/63068045857160

    how the form web form JotForm template jotform template
  • Profile Image
    JotForm Support

    Answered by emily on November 03, 2016 at 03:17 AM

    To center your form, please try to add the custom CSS codes below.  

    .form-all {

           margin: auto !important;

    }

    Here is a guide on how to inject CSS code into your form. 

    http://www.jotform.com/help/117-How-to-Inject-Custom-CSS-Codes 

    I hope this helps. If you have any problem, please contact us.

    Thanks.

     

     

  • Profile Image

    Answered by ErbertAndGerberts on November 03, 2016 at 11:49 AM

    Thanks for the quick response and the a quick, simple solution. It worked like a charm! Thanks! :-)

  • Profile Image
    JotForm Support

    Answered by Jim_R on November 03, 2016 at 01:37 PM

    Thanks for taking your time keeping us posted that the solution worked great :)

    If you have other questions, just open a new thread so we can assist you.