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 do I decrease space between two lines on my form?

    Asked by kevin2759 on June 10, 2016 at 01:26 AM

    I am trying to decrease the space between two specific lines on my form.  

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

    Screenshot
    decrease lines spacing
  • Profile Image

    Answered by jimjotform on June 10, 2016 at 02:25 AM

    Hi,

    You may inject Custom CSS to achieve that. I cloned your form and managed to get it positioned like this:

    And here's your original spacing for comparison:

    I also took the initiative of adjusting the "Tursi's Latin King" line a bit to the left using CSS so it aligns perfectly with the element on top of it. Here are the codes that I used:

    #cid_26 {

       margin-top: -20px;

       margin-left: -10px;

    }

    And this is how and where you can inject them on your dashboard:

    Should you need to adjust the position further, just edit the values of the margins I used. Increasing the negative value of margin-top will move the element a bit higher (and vice versa). Increasing the negative value of margin-left will move the element a bit to the left (and vice versa).

    Hope that helps! Don't hesitate to reach out if you need further help.

  • Profile Image
    JotForm Support

    Answered by Charlie on June 10, 2016 at 03:32 AM

    Just to add what has already been shared by jimjotform, you can check the video tutorials on how to edit your form's layout using the Form Designer Tool: https://www.jotform.com/help/300-Form-Designer-Tutorial-Let-s-create-fantastic-forms- 

    Let us know if you need further assistance on this.