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 individual fields horizontally.

    Asked by WrightImpression on March 17, 2015 at 12:52 PM

    When there is one field on a line, I would like the field to center horizontally.

    center field
  • Profile Image
    JotForm Support

    Answered by Welvin on March 17, 2015 at 02:57 PM

    Hi,

    Like this: http://www.jotformpro.com/form/50755793275971 or like this: http://www.jotformpro.com/form/50755633731961?

    For this form: http://www.jotformpro.com/form/50755793275971, you will just need to expand the field and set the label to top:

     

    For the second form, you will also need to expand the field and set the label to top, then inject the following custom CSS codes:

    div#cid_161 {

    margin: 0 auto;

    }

    label#label_161 {

    text-align: center;

    }

    label#label_166 {

    text-align: center;

    }

    div#cid_166 {

    margin: 0 auto;

    }

    Add these codes at the bottom of the existing ones. Just follow the steps here: https://www.jotform.com/help/117-How-to-Inject-Custom-CSS-Codes.

    Thank you!