How to calculate how much px from the left is the text?
+1
A:
You mean, how to measure the padding/margin via jQuery? It so, you can do this:
paddingleft = parseInt($('#yourElement').css("padding-left"));
marginleft = parseInt($('#yourElement').css("margin-left"));
schneck
2009-10-05 13:42:27
Combine answer of you two,it works!
Misier
2009-10-05 13:51:51