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 I reduce the amount of space at the top of my form?

    Asked by aaron@thepinspot.com on April 25, 2015 at 12:56 PM

    I know VERY little about code, so I just copy and paste the code generated by JotForm into my web design program (XSitePro). Is there a simple way to reduce the amount of space at the top of the form?

    Page URL:

  • Profile Image

    Answered by Ben on April 25, 2015 at 05:01 PM

    I would first like to suggest to use iframe embed code since it seems that there are some conflict issues on your website.

    Once you do that, you should add the following code to your jotform:

    Space indicated by 1 can be reduced using this code:

    form.jotform-form {
        padding-top: 4px;

    Space indicated by 2 can be reduced by using this code:

    div.form-all {
        padding-top: 0px;

    You can of course change the numbers (marked with bold) to your liking.

    Also, if you wish, you can add both of the codes to your jotform as well and to see how to add them, please follow these steps: How to inject Custom CSS Codes?

    Do let us know if you have any further questions.