I am using the jQuery $(\'selector\').css(\'top\') to get the top value to help position dynamic elements and I find that I get different results based on the browser.
i
The thing is, none of your test elements actually have dynamic positioning. See this question: jQuery .css("left") returns "auto" instead of actual value in Chrome
Use $('selector').offset().top to get the numeric value of the top position..css() returns the CSS value of the top-position, which could be auto, 1234px, or something similar - not a reliable method to get the top position.
See also: