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 to center form fields and set them the same width?

    Asked by Solarshoppers on February 08, 2017 at 05:19 PM

    Is there a way to make both fields even size?


    And center inside the gray box?




    Help! :/


    Page URL:

  • Profile Image
    JotForm Support

    Answered by Kevin_G on February 08, 2017 at 07:39 PM

    You may try injecting this CSS code to your form: 

    li#id_2, li#id_3{

     width: 50% !important ;


    This will display the fields centered already, you could see it on this cloned form of yours: https://form.jotform.com/70387236377969 

    This guide will help you to inject the given code: https://www.jotform.com/help/117-How-to-Inject-Custom-CSS-Codes 

    Hope this helps.