H Chris,<div><br></div><div>Thanks for clarifying. I&#39;m still confused as I&#39;ve checked the markup, and I&#39;m reasonably sure that I have all the requisite tags and properly closed. Is there something obvious I might be missing otherwise. I&#39;m pretty sure that I don&#39;t have any jscript which is manipulating the dom. Anyway, I&#39;ve traded this error for something else...<br>
<br><div class="gmail_quote">On Tue, Jun 7, 2011 at 7:09 AM,  <span dir="ltr">&lt;<a href="mailto:christopher.schmidt@nokia.com">christopher.schmidt@nokia.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
OpenLayers assumes that you have a reasonably valid HTML document -- which means you need to have a<br>
&lt;head&gt; element. (I think that if you set theme: null and include the CSS yourself, this requirement<br>
doesn&#39;t exist.)<br>
<br>
-- Chris<br>
<div><div></div><div class="h5"><br>
On Jun 1, 2011, at 1:10 PM, ext Nicholas Efremov-Kendall wrote:<br>
<br>
&gt; Hi all,<br>
&gt;<br>
&gt; I&#39;m having some strange errors with OL 2.11 being loaded locally. I&#39;m getting two different errors in chrome and firefox coming from the openlayers.js file.<br>
&gt;<br>
&gt; Firefox reports document.getElementsByTagName(&quot;head&quot;)[0] is undefined, error in OL.js line 276.<br>
&gt;<br>
&gt; Chrome gives me a different error: Uncaught TypeError: Cannot call method &#39;appendChild&#39; of undefined at OL.js line 276, and in main.js line 12.<br>
&gt;<br>
&gt; any ideas what&#39;s causing this error?<br>
</div></div>&gt; _______________________________________________<br>
&gt; Users mailing list<br>
&gt; <a href="mailto:Users@lists.osgeo.org">Users@lists.osgeo.org</a><br>
&gt; <a href="http://lists.osgeo.org/mailman/listinfo/openlayers-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/openlayers-users</a><br>
<br>
</blockquote></div><br></div>