> Why is it that if I put something like <meta> or any character in
> front of the <!-- InstanceBegin template="/Templates/kayaking.dwt"
> codeOutsideHTMLIsLocked="false" --> then it works in Safari and
> Chrome?  Also if I put that same Dreamweaver template code/comment
> above the charset and http-equiv code it works.

When I first looked at your script, it was structured like -
<html>
<!-- Instance Begin ...
<head>

'Firstchild' could be considered to the comment - in which case
appending script tags to it would would result in illegal HTML
Or it might be considered to be the first valid child - which would be
the head.
I would guess that's browser dependent.

When you add a <meta>, either Dreamweaver is smart enough to enforce
that it goes inside the <head> thus pushing the <!-- comment down too,
or maybe the browser is smart enough to assume that there should be a
<head> in front of it.  Either way, when the 'firstchild' business is
acted out there is either a real or assumed <head> to work on.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-maps-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to