How to set line spacing between different elements

  • Profile Image
    jade.song
    Asked on December 04, 2020 at 03: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

  • Profile Image
    Patrick_R
    Answered on December 04, 2020 at 04: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!