<span class="q">Dito here. But only notice the problem on IE6. IE7, FF and Safari dont
seem affected. Basically the mouse pointer coordinates (using
MousePosition) are offset by the size of the margin. Removing the
margin-left off the main content div (which contains the map) stops the
offset, (but of course breaks the template!)
<br><br></span><span class="q">Heres the map:<span style="border-collapse: separate; color: rgb(0, 0, 0); font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: pre; word-spacing: 0px;">
<br><a href="http://www.geograph.org.uk/mapper/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.geograph.org.uk/mapper/</a></span><br><br>removing<pre><font><font style="font-family: Arial;">
        margin:4px 10px 0px 170px;</font></font></pre>from &quot;.content2&quot; in the css file fixes it. 
<br><br><br>Related:<br><br>Also having (had) a 10px border on the map div did also offset the
coordinates, but changing that to a background colour and 10px padding
sorted that. (cant remember which browsers but at least Firefox)<br><br></span>Do
get the two pixel offset too in Safari and FF, that could be related to
the ticket. (hmm, could that be the 2px border on the content2 class?
.... Yes Confirmed removing the border removes that small offset; at
least on Firefox (as has easy CSS editing)
... so thats not going to be so easy to fix...)<br><br>Cheers, <br><span class="sg"><br>Barry</span><br><br><div><span class="gmail_quote">On 8/24/07, <b class="gmail_sendername">Tom (JDi Solutions)</b> &lt;<a href="mailto:tom.dean@jdi-solutions.co.uk">
tom.dean@jdi-solutions.co.uk</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I too have noticed this problem and would be very interested in the resolution.
<br><br>cheers,<br><span class="sg">Tom</span><div><span class="e" id="q_11497e66512eabde_2"><br><br><div><span class="gmail_quote">On 8/24/07, <b class="gmail_sendername">Barend Köbben</b> &lt;<a href="mailto:kobben@itc.nl" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">

kobben@itc.nl</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br><br>As a follow-up to my earlier report (see below), I am getting some other
<br>XY-coordinate problems that I suspect could be related:<br><br>I am using X=evt.xy.x; Y = evt.xy.y for getting click-coordinates to report<br>back to a GetFeautureInfo call to WMS. In IE7 on PC, Safari &amp; Opera on
<br>
MacOSX this works fine. In FireFox on Mac &amp; PC however, the X reported back<br>if offset as soon as the body of the HTML is offset. In other words, if the<br>map &lt;div&gt; is in a HTML &lt;body&gt; that has a margin-left=100px, 
evt.xy.x=101 in<br>FireFox, and evt.xy.x=1 in all other browsers! Equally,&nbsp;&nbsp;evt.xy.y is<br>affected by margin-top...<br><br>My question is: is evt.xy.x a OpenLayers property, or a general javaScript<br>one? In the latter case, I guess it&#39;s a FireFox bug. Any ideas on how to get
<br>around it...?<br><br>Yours,<br>__<br>Barend Köbben<br>International Institute for Geo-information<br>Sciences and Earth Observation (ITC)<br>PO Box 6, 7500AA Enschede (The Netherlands)<br>ph: +31 (0)53 4874253; fax: +31 (0)53 4874335
<br><br><br>On 03-08-2007 14:50, &quot;Christopher Schmidt&quot; &lt;<a href="mailto:crschmidt@metacarta.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">crschmidt@metacarta.com</a>&gt; wrote:<br>
<br>&gt; On Fri, Aug 03, 2007 at 12:26:57PM +0200, Barend K?bben wrote:
<br>&gt;&gt; Hi ,<br>&gt;&gt;<br>&gt;&gt; I have data of a really large scale, it&#39;s almost 1:1 drawings of<br>&gt;&gt; archeological finds. They have been measured very precisely and nicely<br>&gt;&gt; georef&#39;d to a UTM projection and consist of maps of typically some 15x15 to
<br>&gt;&gt; 20x20 meters in size.<br>&gt;&gt; All works quite fine, but the large scale obviously gives some problems,<br>&gt;&gt; that I consider a bug: The zoom box (SHIFT-Drag) does not appear were the<br>&gt;&gt; actual mouse is moving. The effect varies according to the size of the
<br>&gt;&gt; screen and the browser (eg. on my 1024x768 Mac running Firefox it&#39;s not as<br>&gt;&gt; bad as on a 1680x1050 PC using IE7, where it&#39;s really way off). I have<br>&gt;&gt; experimented with all kinds of resolution and scale settings, but to no
<br>&gt;&gt; avail...<br>&gt;<br>&gt; This is almost definitely a bug in OpenLayers ... holy crap, you weren&#39;t<br>&gt; kidding. Something&#39;s totally broken there.<br>&gt;<br>&gt; Erik, can you file this as a blocker for 
2.5?<br>&gt;<br>&gt; Thanks for the report, Barend. We&#39;ll look into this.<br>&gt;<br>&gt; -- Chris<br>&gt;<br>&gt;&gt; Sciences and Earth Observation (ITC)<br>&gt;&gt; PO Box 6, 7500AA Enschede (The Netherlands)<br>&gt;&gt; ph: +31 (0)53 4874253; fax: +31 (0)53 4874335
<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; _______________________________________________<br>&gt;&gt; Users mailing list<br>&gt;&gt; <a href="mailto:Users@openlayers.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
Users@openlayers.org</a><br>&gt;&gt; <a href="http://openlayers.org/mailman/listinfo/users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://openlayers.org/mailman/listinfo/users</a><br>&gt;&gt;<br><br>_______________________________________________<br>Users mailing list<br><a href="mailto:Users@openlayers.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
Users@openlayers.org</a><br><a href="http://openlayers.org/mailman/listinfo/users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://openlayers.org/mailman/listinfo/users</a><br></blockquote></div><br>
</span></div><br>_______________________________________________<br><span id="st" name="st" class="st">Users</span> mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:Users@openlayers.org">
<span id="st" name="st" class="st">Users</span>@<span id="st" name="st" class="st">openlayers</span>.org</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://openlayers.org/mailman/listinfo/users" target="_blank">
http://<span id="st" name="st" class="st">openlayers</span>.org/mailman/listinfo/<span id="st" name="st" class="st">users</span></a><br><br></blockquote></div><br><br clear="all"><br>-- <br>Barry<br><br>- <a href="http://www.nearby.org.uk">
www.nearby.org.uk</a> - <a href="http://www.geograph.org.uk">www.geograph.org.uk</a> -