<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Drawtool problem with IE8, IE9 and 'margin-left' in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/drawtool-problem-with-ie8-ie9-and-margin-left/m-p/370797#M34389</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Have you looked into using dijit layout widgets to layout your page?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Apr 2012 16:10:28 GMT</pubDate>
    <dc:creator>derekswingley1</dc:creator>
    <dc:date>2012-04-10T16:10:28Z</dc:date>
    <item>
      <title>Drawtool problem with IE8, IE9 and 'margin-left'</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/drawtool-problem-with-ie8-ie9-and-margin-left/m-p/370796#M34388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I´ve a problem with the drawtool. If I´m using the margin-left attribute, the drawn geometries will always be shown with a offset. For example if I set the margin-left to 100px, the offset of the geometry will be 100 pixel.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This behavior occurs only on IE8 and IE9. FF and Chrome will show the geometries without a offset.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If I use padding-left instead of margin-left it works fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you use this example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples/toolbar_draw.html"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples/toolbar_draw.html&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;and modify the body style to:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;style type="text/css"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; html, body {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; height: 100%; width: 500px; padding: 0; margin-left: 100px;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/style&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;you can see the problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there any solution for this problem? Can I set somewhere a offset?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Bernd&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2012 08:27:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/drawtool-problem-with-ie8-ie9-and-margin-left/m-p/370796#M34388</guid>
      <dc:creator>BerndSchneiders</dc:creator>
      <dc:date>2012-04-10T08:27:02Z</dc:date>
    </item>
    <item>
      <title>Re: Drawtool problem with IE8, IE9 and 'margin-left'</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/drawtool-problem-with-ie8-ie9-and-margin-left/m-p/370797#M34389</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Have you looked into using dijit layout widgets to layout your page?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2012 16:10:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/drawtool-problem-with-ie8-ie9-and-margin-left/m-p/370797#M34389</guid>
      <dc:creator>derekswingley1</dc:creator>
      <dc:date>2012-04-10T16:10:28Z</dc:date>
    </item>
    <item>
      <title>Re: Drawtool problem with IE8, IE9 and 'margin-left'</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/drawtool-problem-with-ie8-ie9-and-margin-left/m-p/370798#M34390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The map is integrated in an external page. So I can´t use Dojo Layout.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This external page is using 'margin-left: auto' to center always the map.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Bernd&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2012 07:13:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/drawtool-problem-with-ie8-ie9-and-margin-left/m-p/370798#M34390</guid>
      <dc:creator>BerndSchneiders</dc:creator>
      <dc:date>2012-04-11T07:13:41Z</dc:date>
    </item>
    <item>
      <title>Re: Drawtool problem with IE8, IE9 and 'margin-left'</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/drawtool-problem-with-ie8-ie9-and-margin-left/m-p/370799#M34391</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I discovered a workaround. After resizing the browser window, we need to call the resize() method of the map object. This seems to update internally the margin/position of the map.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This look like that the map object does not update its margin correctly in IE8/IE9.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Bernd&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2012 07:38:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/drawtool-problem-with-ie8-ie9-and-margin-left/m-p/370799#M34391</guid>
      <dc:creator>BerndSchneiders</dc:creator>
      <dc:date>2012-04-11T07:38:45Z</dc:date>
    </item>
  </channel>
</rss>

