in jquery / javascript I'm trying to find how far the element with position: relative is left. There are several elements between this and to the left of the screen. since it is positioned: relative and float: left using:
$(this).css('left');
gives me "0px" every time. So, how do I know how far the item is to the left of the screen?
source
share