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

    Make My Form "Sleek" (narrower, less spacing)

    Asked by JKulp42757 on August 16, 2016 at 11:01 AM

    My form is here:

    https://form.jotform.com/62284438387971

     

    I'd like to make it a bit more "sleek", with less spacing between the fields, and not as large vertically either.

     

    Something closer to the image I have attached as an example.

    Screenshot
    narrower Make JotForm attached and closer
  • Profile Image
    JotForm Support

    Answered by david on August 16, 2016 at 12:16 PM

    Adding the following code to your form will greatly reduce the spacing between fields and allow for the submit button to be on the same line as the rest:

    https://www.jotform.com/help/117-How-to-Inject-Custom-CSS-Codes

    #id_4 {
        margin-right : -10px;
    }

    #id_3 {
        margin-right : -55px;
        margin-left : -45px;
    }

    #cid_6 div.form-header-group {
        margin-bottom : -20px;
    }

    Here is how the form would look with the code added:

    https://form.jotform.com/62285176757972

  • Profile Image

    Answered by JKulp42757 on August 16, 2016 at 12:57 PM

    awesome, that worked great. Thanks!

  • Profile Image
    JotForm Support

    Answered by John_Benson on August 16, 2016 at 02:02 PM

    On behalf of my colleague david, you're welcome. 

    Let us know if you need further assistance. Thank you.