problem tih 'offset(coords)' in different browsers
I have a very specific bug, and i spent a few hours trying to dig into something.so here's the bug:
i have a very different behavior of setting offset top with $.fn.offset function in google chrome and mozilla firefox(ie has behavior like mozilla). the results are very different. as i watched - the inside body of the function gets the top property of element by curCSS, which is definitily giving different results(first case - about 150, other - about 4500 px).
i am setting the top of the element dependent from the scroll position of its container. thus when a user scrolls the mouse, th element should look like its standing on the same place, actually it's table header, who's floating with the content of table to stay visible.
version of Chrome is 7.0.517.44, mozilla is 3.6.12.
any thoughts?