I\'m trying to get an element\'s CSS (top and left) with jQuery:
$(element).css(\'top\');
but instead of \"12%\" like it should be, I get the p
I just encountered this myself and thought it weird, too.
Instead of:
$(element).css('top');
I just did:
element.style.top
No jQuery and gives you the actual value in the type you made it (percent, ems, etc.)