Sorry Klaus, but while that works for IE6, it doesn't for IE7 (v7.0.5730.11). I've put the demonstrator back - http://www.wizzud.com/tester http://www.wizzud.com/tester - displaying compatMode and with html border set to '0px none'. If you're running in quirks mode (no doctype) this isn't a problem - but I'm not, and it is.
Klaus Hartl wrote: > > > Wizzud wrote: >> >> Found the solution here - >> http://ajaxian.com/archives/javascript-tip-cross-browser-cursor-positioning >> http://ajaxian.com/archives/javascript-tip-cross-browser-cursor-positioning >> - not that anyone seems to give a .... ! >> >> Reported as bug : http://dev.jquery.com/ticket/1571 >> http://dev.jquery.com/ticket/1571 >> >> (Demonstration removed!) > > > That's very interesting. I usually remove the viewports border in IE by: > > html { > border: 0; > } > > Yes, that works. Does this remove the 2px offset as well? > > > > --Klaus > > -- View this message in context: http://www.nabble.com/IE-2px-out-on-event.pageX-Y-tf4384471s15494.html#a12525106 Sent from the JQuery mailing list archive at Nabble.com.