how to give a label padding through jquery
snippet in javascript

how to give a label padding through jquery

user4879


$(document).ready(function() {
    $(".box h3").not(":first").css("paddingTop","10px");
});

how to give a label padding through jquery

user795


$(document).ready(function() {
    var paddingTop = 10;
    $(".box h3").not(":first").each(function() {
        $(this).css("paddingTop",paddingTop+"px");
        paddingTop +=10;
    });
});