How to set line spacing between different elements

  • jade.song
    Asked on December 4, 2020 at 3:01 AM

    Dear Sir/Miss,


    May I know how to set line spacing between different elements.

    The space is too large, enclosed with attachment for your reference.

    I am looking forward your reply.


    Best Regards,

    Jade

    Jotform Thread 2744550 Screenshot
  • Patrick_R
    Replied on December 4, 2020 at 4:07 AM

    Hi! You can set the top-margin and bottom margin of form fields to 0px. This will reduce the spacing. This is the cloned version of your form that has the margin set to 0px: https://form.jotform.com/203381807140953

    Q) Does this solve your purpose?If yes, then you can inject the following CSS code into your form by following these instructions.

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

    You can use this code for all of your forms.

    In case this doesn't solve your purpose, let us know.

    Thank you!