How do I add a rule to all .form-line except the .form-line containing .form-buttons-wrapper?

  • Jon_Best
    Asked on April 27, 2015 at 2:05 AM

    If I want to add padding to all the .form-line except the form-line containing .form-buttons-wrapper, how would I do so?

    <div_prefs id="div_prefs">

  • raul
    Replied on April 27, 2015 at 8:59 AM

    You can add the padding to the class .form-line and then remove it from the specific ID in which you don't want to apply it. You can see here: http://www.jotform.com/help/146-How-to-find-Field-IDs-Names how to find a specific field ID and name.

    If you need further assistance, please let us know and also share with us the form name or URL in which you want to do this.

  • raul
    Replied on April 27, 2015 at 9:02 AM

    Forgot to include a brief example on how you could do this:

    .form-line {
        padding-top: 10px;
    }

    .form-buttons-wrapper {
        padding-top: -10px; //This will eliminate the padding applied above
    }