Answers for "how to give a label padding through jquery"

1

how to give a label padding through jquery

$(document).ready(function() {
    $(".box h3").not(":first").css("paddingTop","10px");
});
Posted by: Guest on October-22-2020
1

how to give a label padding through jquery

$(document).ready(function() {
    var paddingTop = 10;
    $(".box h3").not(":first").each(function() {
        $(this).css("paddingTop",paddingTop+"px");
        paddingTop +=10;
    });
});
Posted by: Guest on October-22-2020

Code answers related to "how to give a label padding through jquery"

Code answers related to "Javascript"

Browse Popular Code Answers by Language