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

    Extra Padding or Margin

    Asked by PeggyHIll on March 30, 2017 at 11:14 AM

    Hi there,

    Whenever I add a new form to my website I get a ton of extra padding above the form. I don't see the padding when I'm editing so I'm not sure where it's coming from. I tried giving the form an ID and using CSS and even used !important but nothing seems to be working.


    Hoping you can help me solve the issue!


    Thank you,


    Please contact Alex - alex@peggyhill.com


    Page URL:

  • Profile Image
    JotForm Support

    Answered by BJoanna on March 30, 2017 at 12:54 PM

    To completely remove top padding and margin add this CSS code to your form:

    .jotform-form  {

    padding-top: 0;

    margin-top: 0;


    .form-all { 

            margin-top: 0 !important; 

            padding-top: 0 !important; 


    How to Inject Custom CSS Codes

    Here is my cloned form with mentioned CSS codes: https://form.jotformpro.com/70884992379982 

    Feel free to clone it

    Hope this will help. Let us know if you need further assistance.