How to Reduce Vertical Space between label and input field field

  • Profile Image
    801approve
    Asked on March 25, 2013 at 12:46 PM

    When the form width is too narrow to have the label to the left it forces the labe above the input field.

    No problem, but how do I reduce the vertical space between the label and the field (See image below) 

    I found a previous post where this was answered but the CSS that was on that post doesn't work. (http://www.jotform.com/answers/129183-Can-the-vertical-spacing-between-a-label-and-its-answer-be-adjusted)

  • Profile Image
    Welvin
    Answered on March 25, 2013 at 12:54 PM

    Hi,

    The codes should work but you have to set the Field Label to Top.

    Codes:

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

    Guide: How to Inject Custom CSS Codes

     

    Thanks