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

    Decreasing the space at the top of my form

    Asked by sarahieca on August 31, 2016 at 10:23 AM

    how do I decrease the space at the top of my form? When I embed it in my website, there is a large gap above the form.

    Page URL:

  • Profile Image
    JotForm Support

    Answered by John_Benson on August 31, 2016 at 11:51 AM

    You can decrease the space at the top by changing the form padding to 0. In order to do that, you need to inject a custom CSS code to your form. Here's the code:

    .jotform-form { 

        padding: 0px 0 !important;

    Here's the guide on how to inject a custom CSS code: https://www.jotform.com/help/117-How-to-Inject-Custom-CSS-Codes

    1. Click the Preferences in the Form Builder.

    2. Click the Form Styles link.

    3. Go to the Inject CSS tab, then paste the code in the text area. Click the Save Changes button when you're done.

    Hope that helps. Let us know if you need further assistance. Thank you.