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 can I center my form fields with CSS?

    Asked by riteoak on June 02, 2015 at 05:08 PM

    Hi, I've visited several forum questions with the same issue, the webpage I am working on the form is on the left, I would like for it to be center. How can I do this? Thank you.

    Page URL:

    how align center form fields
  • Profile Image

    Answered by raul on June 02, 2015 at 06:02 PM

    I've checked your page and it seems like you were already able to center your form since this is how it looks on my side.

    Do you still need our help? If so, please let us know and we'll be happy to provide assistance.

  • Profile Image

    Answered by riteoak on June 20, 2015 at 11:59 AM

    Hi Raul, thanks for your reply, what I meant is that I would like the fields to be center. Thank you.

  • Profile Image

    Answered by Syed on June 20, 2015 at 04:40 PM

    Hi there;

             Could you try to inject the following CSS Code Block to align your fields to be centered. Read this guide on How you can Inject Custom CSS Codes. Review the following screenshot for confirmation.

    .form-line {padding-left: 100px;}

    #id_7 {padding-left: 190px;}

    Hope this helps. Please let us know, if you have further questions, we would be glad to help you in any regards.



  • Profile Image

    Answered by riteoak on June 20, 2015 at 07:53 PM

    Thank you that worked perfectly!

  • Profile Image

    Answered by Syed on June 20, 2015 at 10:08 PM

    You're welcome. Please let us know, if you need further assistance. We would be happy to help you.