jquery offset incorrect on floating elements

Posted by LordZardeck on Stack Overflow See other posts from Stack Overflow or by LordZardeck
Published on 2012-04-03T23:25:58Z Indexed on 2012/04/03 23:29 UTC
Read the original article Hit count: 198

Filed under:
|

I have a bunch of images each with the float: left property applied to them. They are constrained withing a 400px width area, forcing them into a grid of 4 X 4. If i try to get the position of them, they are always incorrect. What is causing this? You can see what I'm trying to do here: http://dev.redemptionconnect.com/cards/browse. Click one of the images to see what I mean. the dialog that pops up should be over the image you clicked.

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about offset