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 to get lines closer

    Asked by Jonty on April 15, 2014 at 04:30 PM

    If I use headings or text above input fields it always leaves a big gap between them and the fields- How can i make that smaller?

    Also, why are there always such huge margins at each side of a form when it comes to embedding them in a web page?

  • Profile Image

    Answered by Cesar on April 15, 2014 at 07:46 PM

    You can try injecting the following CSS Code into your form:

    .form-html {
    padding: 0px;

    .form-line {
    padding-top: 0px;
    padding-bottom: 0px;}

    This is my example form: http://form.jotformpro.com/form/41047763386965?

    In regards to the way the form is embedded, we do suggest to use the iFrame Method as it yields the best results. You can also modify the width of your form and iFrame field if neccesary.

    Do let us know if you need further assistance. Thank you.


    Related Article: