title: offsetTop vs. jQuery.offset().top
body: <p>I have read that <code>offsetLeft</code> and <code>offsetTop</code> do not work properly in all browsers.  <code>jQuery.offset()</code> is supposed to provide an abstraction for this to provide the correct value xbrowser.</p>
  
  <p>What I am trying to do is get the coordinates of where an element was clicked relative to the top-left of the element.</p>
  
  <p>Problem is that <code>jQuery.offset().top</code> is actually giving me a decimal value in FFX 3.6 (in IE and Chrome, the two values match).</p>
  
  <p><a href="http://jsfiddle.net/htCPp/" rel="noreferrer">This fiddle</a> exhibits the issue.  If you click the bottom image, <code>jQuery.offset().top</code> returns 327.5, but <code>offsetTop</code> returns 328.</p>
  
  <p>I would like to think that <code>offset()</code> is returning the correct value and I should use it because it will work across browsers.  However, people obviously cannot click decimals of pixels.  Is the proper way to determine the true offset to <code>Math.round()</code> the offset that jQuery is returning?  Should I use <code>offsetTop</code> instead, or some other method entirely?</p>