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 can I make my form fit to the edges of my background?

    Asked by Mnajib on May 18, 2017 at 03:21 PM

    I want the top margin of my form to line up with the top of the background image and the bottom margin of my form to line up with the bottom of the background image. How can I do that? 

  • Profile Image

    Answered by Sven on May 18, 2017 at 04:35 PM

    Hi, 

    You can add custom CSS rules to change the styling of your form. If you want to remove the margins, please add the following CSS to your form builder:

    .form-all {

        margin-top : 0px !important;

        margin-bottom : 0px !important;

    }

     

    Here's how you can inject custom CSS in your form:

    How-to-Inject-Custom-CSS-Codes

     

    Thank you!

  • Profile Image

    Answered by Mnajib on May 20, 2017 at 11:05 PM

    This didn't workout 

  • Profile Image
    JotForm Support

    Answered by liyam on May 21, 2017 at 01:51 AM

    Hello,

    I suppose this is what you mean:

     

    If so, please use this CSS code instead:

    .jotform-form {
       padding-top: 0 !important;
       padding-bottom: 0 !important;
    }

    This should affect the top and bottom padding of your form.

    If you have questions or other concerns, please let us know.

    Thanks.