Reduce spacing between Paragraph element and Input Table

  • dlsnelson819
    Asked on March 30, 2025 at 12:47 AM

    Can someone please tell me how to reduce the blank space between a paragraph and a survey element?

    Thank you!

  • Shane JotForm Support
    Replied on March 30, 2025 at 8:39 AM

    Hi Lynn,

    Thanks for reaching out to Jotform Support. You can use custom CSS code to adjust the spacing in between the elements. Here's how:

    1. First, copy the following CSS code:

    /* 25722541 - Adjust spacing */
    #id_9 {
    margin-bottom: 0px;
    padding-bottom: 0px;
    }

    #id_29 {
    margin-top: 0px;
    }
    /* End */

    2. In Form Builder, click on the Paint Roller icon on the right side of the page to open Form Designer.
    3. Now, in the Form Designer menu, click on the Styles tab, scroll down and paste the code into the Inject CSS Code box. That’s it. The code is automatically saved.

    Reduce spacing between Paragraph element and Input Table Image 1 Screenshot 30

    We also have a guide about How to Inject Custom CSS Codes that you can check out. See following screenshot for the expected result:

    Reduce spacing between Paragraph element and Input Table Image 2 Screenshot 41Give it a try and let us know if you need any help.

Your Answer