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

    Form vertical padding for text fields

    Asked by criterions on May 05, 2015 at 11:39 AM

    I have 4 text fields vertically arranged (see screenshot) and I'd like to - for aesthetic reasons - decrease the vertical padding. What is the best way to do this? Thanks.

    Screenshot
    vertical padding thanks and decrease
  • Profile Image
    JotForm Support

    Answered by david on May 05, 2015 at 12:25 PM

    Hi,

    The easiest way to change your field spacing is to open your form in the designer:

    Then, click on "Line Layout" to open the options to adjust the spacing:

    If you have any further questions, let us know and we will be happy to help.

  • Profile Image

    Answered by criterions on May 05, 2015 at 12:38 PM

    The problem is that it changes the line spacing for everything - was trying to just focus on those particular elements if possible.

  • Profile Image
    JotForm Support

    Answered by david on May 05, 2015 at 12:58 PM

    I think I was able to adjust the form how you would like.  Try adding the follow CSS to your form:

    http://www.jotform.com/help/117-How-to-Inject-Custom-CSS-Codes

    #id_58 {
        padding : 0px 0px 0px 15px;
    }

    #id_59 {
        padding : 0px 0px 0px 15px;
    }

    #id_60 {
        padding : 0px 0px 0px 15px;
    }

    #id_61 {
        padding : 0px 0px 0px 15px;
    }

    This should adjust the padding for only those 4 fields. 

    If this still doesn't look the way you would like, let us know and we will take another look.