How can I remove the space at the top of my form?

  • DebCarr
    Asked on March 24, 2017 at 8:25 AM

    I'm playing with my border styles in CSS.  But no matter what I do, the final comes up like this...https://form.jotform.us/70815189915162  where the border is correct all the way around, but at the top, there is an extended form piece.  Any idea what I'm doing wrong?

  • Chriistian Jotform Support
    Replied on March 24, 2017 at 11:10 AM

    Hi there,

    Please inject the following CSS to your form.

     

    .form-all {

       padding-top: 0px;

    }

     

    The result should be as follows.

    How can I remove the space at the top of my form? Image 1 Screenshot 20

     

    Let us know if you need further assistance.

     

    Regards.

  • DebCarr
    Replied on March 24, 2017 at 12:09 PM

    Thank you.  So although I had no padding properties anywhere, I had to add a 0 padding line? 

  • Support_Management Jotform Support
    Replied on March 24, 2017 at 3:38 PM

    The reason why it was needed to be set to zero (0) was because there's an extra padding at the top. The form has default padding values around it and it's not something you entered manually somewhere in the form builder.

    So worry not, the CSS codes given by my colleague should suffice and I'm seeing the borders are now even all throughout the form.

    In case you need more help, don't hesitate to let us know.