How to Center the Form?

  • Profile Image
    ErbertAndGerberts
    Asked 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?

     

  • Profile Image
    emily
    Answered 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
    ErbertAndGerberts
    Answered 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
    Jim_R
    Answered 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.