Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

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;
    });
});
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #give #label #padding #jquery
ADD COMMENT
Topic
Name
4+6 =