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 to reduce space between elements in my iframe embedded form

    Asked by Mimich on February 14, 2017 at 09:54 AM

    Hi, I have created a form and I would like to know how to reduce the space between the  elements in my form. The space I am referring to is shown in the following screenshot with and arrow:

    I want to lift it just a bit, cause the space is little too much and its not necessary


    Here is my form builder in this form screenshot:

  • Profile Image
    JotForm Support

    Answered by ashwin_d on February 14, 2017 at 01:07 PM

    Hello Mimich,

    Please let us know the webpage URL where you have embedded your form and we will take a look.

    You may also like to inject the following custom css code in your form and see if that solves your problem:

    div#cid_26 {

        margin-top: -20px;


    The following guide should help you how to inject custom css code in form: https://www.jotform.com/help/117-How-to-Inject-Custom-CSS-Codes

    We will wait for your response.

    Thank you!

  • Profile Image

    Answered by Mimich on February 15, 2017 at 02:11 PM

    Hi, I tried this it didn't work. Thanks

  • Profile Image
    JotForm Support

    Answered by BJoanna on February 15, 2017 at 04:15 PM

    Please provide us URL of the webpage where your form is embedded, or ID of your form. 

    You can also check this guides: