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

    Center a field

    Asked by mountaininsurance on July 08, 2015 at 04:08 PM

    I have read every tutorial on your site and tried everything I can think of and I still can not center this field. http://form.jotform.us/form/51884935448167

     

    Please Help,

     

    Thanks

    Page URL:
    http://www.acutechconsulting.com/small-business-consulting/

    a JotForm site thanks and
  • Profile Image
    JotForm Support

    Answered by david on July 08, 2015 at 05:36 PM

    Hi,

    To adjust the margin for the Zipcode field, add this code to your form:

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

    #id_4 {
        margin-left : 150px;
    }

    Adjust the value until your field in positioned how you would like it.  The code entered above will make your form look like this:

    http://form.jotformpro.com/form/51887161502960

    If you have any further questions, let us know and we will be happy to help.

  • Profile Image

    Answered by mountaininsurance on July 08, 2015 at 05:50 PM

    Thank you, that worked for the field itself, but what about the label? 

  • Profile Image
    JotForm Support

    Answered by david on July 08, 2015 at 06:53 PM

    To center adjust the label positioning, try this code:

    #label_4 {
     margin-left: -20px;  
    }

    Updated form with new code added:

    http://form.jotformpro.com/form/51887161502960