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 Do I Get Rid of Space at the Top of My Embedded Form?

    Asked by sarahieca on March 16, 2015 at 03:34 PM

    I've added the padding=0 CSS but I still can't get the form to begin at the top of my page.

    Page URL:
    http://www.iecaonline.com/getamember.html

    Screenshot
    unwanted space above remove space remove top space embedded form
  • Profile Image
    JotForm Support

    Answered by abajan on March 16, 2015 at 06:07 PM

    Please try the following and let us know if it helps:

    1. Click the Designer button:


    2.
     Click the CSS tab:


    3.
     Copy the following code and insert it into the CSS tab's work area

    form.jotform-form,
    .form-all,
    #id_34, #text_34 {
       padding-top: 0;
    }

    #text_34 p {
       margin-top: 0;
    }


    4.
     Save the jotform:


    When done, the styling of the form at its own URL should be like that of this clone. However, there's still likely to be some unwanted space when the form's code is embedded into the source of your page. Unless there's a reason for using the full source of the form, try using its iFrame version instead. That may help to get rid of the remaining space but if it doesn't, do let us know.

    Thanks