It would be a lot more efficient if you did the looping for the X and Y position together instead of doing it separately.
What doesn't work in IE? Did you check the values as it loops?
Joined: Jun 06, 2007
Thank you for your reply. I tried getting the X and Y positions together as well. Problem I am having is the div aligns properly in all other browsers except in IE. In IE the div positions to the left. To get exactly below the textbox i have to do something like below
But with the above code it doesn't aligns properly in other browsers.