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

    Move field closer together

    Asked by Libertytax on January 21, 2017 at 07:34 PM

    In the referenced form I'd like to move the words "New Client Information" and "Referring Client Information" closer to the horizontal line positioned above both of them. How can I do this without changing the spacing of any other fields?

    Page URL:
    https://form.jotform.com/70207046765152

  • Profile Image
    JotForm Support

    Answered by Jim_R on January 22, 2017 at 04:45 AM

    Try injecting the following CSS:

    #id_16, #id_17 {

       padding-bottom: 0px;

       margin-bottom: -30px;

    }

    Those 2 IDs targeted above are the 2 horizontal lines, so this ensures that nothing will change with the spacing of the other fields.

    RESULT:

    Here's where/how to inject them:

    Complete guide: How-to-Inject-Custom-CSS-Codes