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 remove spaces between fields?

    Asked by stevenco on February 18, 2017 at 01:31 PM

    Is there anyway to move eletement closer together vertically?

    There is so much wasted white space between elements.

  • Profile Image
    JotForm Support

    Answered by Kevin_G on February 18, 2017 at 07:57 PM

    You could try injecting this CSS code to your form: 

    .form-line:not([data-type="control_button"]) {

        padding-top: 0px;

        padding-bottom: 0px;

        margin-top: 0px;

        margin-bottom: 0px;


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

    Hope this helps.