Can the vertical spacing between a label and its answer be adjusted?

  • Profile Image
    paulawittner
    Asked on September 12, 2012 at 03:03 AM

    I am trying to minimize the height and width of my form. The labels (questions) are top aligned to reduce the overall width. In order to reduce the form's height I have set the question spacing to "1". I would also like to minimize the vertical spacing between each label and its field (answer).  Is this possible?

    Bob

     

     

  • Profile Image
    jonathan
    Answered on September 12, 2012 at 03:18 AM

    Bob,

    You can change the spacing between labels in 2 ways as describe on this guide How-can-I-change-spacing-between-questions

    Please inform us if you need further assistance.

    Thanks.

  • Profile Image
    paulawittner
    Answered on September 12, 2012 at 07:24 PM

    Jonathan,

    This isn't quite what I was asking. I understand how to adjust the spacing between "questions".  In the screen shot below I have used the "Inject custom CSS" control with a value of -5.  This reduces the spacing between questions so much that the top of each label is touching the bottom of the answer field preceeding it. I would like to reduce the vertical spacing between each label and its corresponding answer field below it. This seems to be about 12 pixels and changeing the space between questions doesn't seem to affect it.

    label spacing

     

    Thanks,

    Bob

  • Profile Image
    NeilVicente
    Answered on September 12, 2012 at 07:50 PM

    Please try injecting the following CSS codes to your form:

    .form-label-top {
        margin-bottom: 0;
    }

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

  • Profile Image
    paulawittner
    Answered on September 12, 2012 at 08:03 PM

    That does it.

    Thank you,

    Bob