Remove any padding/margins from the top of the form

  • Profile Image
    andrewo
    Asked on October 27, 2017 at 12:46 PM

    is there a simple CSS code to remove any padding/margins from the top of the form? I set the vertical padding to 0 but there seems to be at least 20 pixels of whitespace at the top still.

  • Profile Image
    Chriistian
    Answered on October 27, 2017 at 01:10 PM

    Are you referring to this form: http://www.jotformpro.com/form/72895707896984

    15091240492017-10-28_0105.png

    To remove the space above the text of the form, you can add the following custom CSS code:

    li#id_8 {

        margin-top: 0px;


    }

    li#id_8 p:first-child {

        margin-top: 0px;

    }

    To inject custom CSS code to your form, just follow the instructions provided in this article: How to Inject Custom CSS Codes.