Ticket #10488 (closed bug: cantfix)
IE7 offset() functions is not returning the proper values
| Reported by: | saranya.jkmr@… | Owned by: | saranya.jkmr@… |
|---|---|---|---|
| Priority: | low | Milestone: | None |
| Component: | offset | Version: | 1.4.2 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
when calculating the offset positions, In other browsers like Firefox,safari. its working fine, but in IE7 its not returning the proper Positioning value.
var imgTop = imgElem.offset().top; var imgLeft = imgElem.offset().left;
I am using the above code snippet and based on the values i am positions some text on the screen.
Please let us know is there any solution to resolve this in IE7
Change History
comment:1 Changed 21 months ago by timmywil
- Owner set to saranya.jkmr@…
- Priority changed from undecided to low
- Status changed from new to pending
- Component changed from unfiled to offset
comment:2 Changed 20 months ago by saranya.jkmr@…
- Status changed from pending to new
When Page is in 100% Zoom we are getting the proper positions using offset. But when we zoom more than 100%(i.e. 110%etc..) we are not getting the positions properly. This problem occurs only in IE7.
Can you please provide the solution to resolve this issue.
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

Thanks for taking the time to contribute to the jQuery project! Please provide a complete reduced test case on jsFiddle to help us assess your ticket.
Additionally, be sure to test against the jQuery Edge version to ensure the issue still exists. To get you started, use this boilerplate: http://jsfiddle.net/FrKyN/ Open the link and click to "Fork" (in the top menu) to get started.