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 bring fields closer to each other in a row.

    Asked by yogishchandra on July 27, 2017 at 07:11 AM

    Hi,

    Could you please help me understand how I can bring three fields close to each other in a single row. As close as possible.

     

    Page URL:
    https://form.jotform.me/72073463673459

  • Profile Image

    Answered by iremyuksel on July 27, 2017 at 10:09 AM

    In order to adjust the spacing between fields, you have to inject a custom CSS code to your form such as:

     

    li#id_3 {

      margin-right: -60px;

    }

     

    li#id_4 {

        margin-left: -60px;

        margin-right : -60px;

    }

     

    li#id_5 {

        margin-right : -60px;

    }

     

    In this piece of code, id_3 refers to First Name, id_4 to Last Name and id_5 to Prefix. You can play with the pixel values (-60 in the code) as you wish to get the design you want. 

     

    To inject a CSS code, you can check this link: https://www.jotform.com/help/117-How-to-Inject-Custom-CSS-Codes