Thursday, 18 March 2010

Setting margin using jQuery

$("#samplediv").css("marginTop", 100) sets margin-tp of DIV samplediv to 100px

No comments:

Post a Comment