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 do I center the fields and button?

    Asked by lumiarts on May 30, 2017 at 02:34 PM

    How to center the fields and the button too

     

    Page URL:
    https://form.jotformz.com/71485629604665

  • Profile Image
    JotForm Support

    Answered by Jan on May 30, 2017 at 04:37 PM

    Please insert this custom CSS code to align the fields to center:

    #cid_4, #cid_7, #cid_8, #cid_12, #cid_15 {
    text-align: center !important;
    }

    .form-input .form-error-message, .form-input-wide .form-error-message {
    max-width: 315px !important;
    margin: 0 auto !important;

    }

    .form-pagebreak-back-container, .form-pagebreak-next-container {
    float: none !important;
    }

    Here's a guide on How-to-Inject-Custom-CSS-Codes. Here's the result:

    You may also want to check this demo form: https://form.jotform.com/71496443077968

    Hope that helps. Thank you.