J
Jonathan N. Little
Andy said:What makes you think that?
OMG! It's the uber-Mabbett!
Quite underwhelming unless you're using NN4 or MSIE...
Andy said:What makes you think that?
OMG! It's the uber-Mabbett!
Stevo said:No style problems can cause that. You've just shifted the problem around a
bit. Edit: I just read you're including google maps code, that'll be
what's doing it.
Okay it turns out we jumped the gun as the problem is still happening,
albeit less often. It is completely random.
The problem is that some code is trying to dynamically create DOM elements
Can anyone suggest another way to do this (which doesn't work)?:
<!--[if IE]></body><![endif]-->
Have you tried using document.write("<\/body>"); ?
Have you tried using document.write("<\/body>"); ?Can anyone suggest another way to do this (which doesn't work)?:
<!--[if IE]></body><![endif]-->
Apologies, could you put the code in context and in laymen's terms please?
Exactly what should we add to make only IE see a </body> command?
Randy Webb said:Mika said the following on 11/19/2007 3:51 PM:
Wow, IE got it right. Imagine that.
Can anyone suggest another way to do this (which doesn't work)?:
<!--[if IE]></body><![endif]-->
Have you tried using document.write("<\/body>"); ?
Apologies, could you put the code in context and in laymen's terms
please? Exactly what should we add to make only IE see a </body> command?
Instead of trying to work around flaws in your design, maybe you should be
trying to make your code work with valid HTML.
Mika said:Apologies, could you put the code in context and in laymen's terms please?Have you tried using document.write("<\/body>"); ?Can anyone suggest another way to do this (which doesn't work)?:
<!--[if IE]></body><![endif]-->
Exactly what should we add to make only IE see a </body> command?
Randy Webb said:Mika said the following on 11/19/2007 3:51 PM:Mika wrote:
"Mika" <[email protected]> wrote in messageWow, IE got it right. Imagine that.Thanks for all the tips. Hopefully MS will fix the bug before even
more programmers hate their browser, even if the majority of public
don't.
Okay it turns out we jumped the gun as the problem is still happening,
albeit less often. It is completely random.
The problem is that some code is trying to dynamically create DOM
elements before the page is complete (i.e. before the </body> tag). IE
won't tolerate this.
Instead of trying to work around flaws in your design, maybe you should beCan anyone suggest another way to do this (which doesn't work)?:
<!--[if IE]></body><![endif]-->
Have you tried using document.write("<\/body>"); ?
Apologies, could you put the code in context and in laymen's terms
please? Exactly what should we add to make only IE see a </body> command?
trying to make your code work with valid HTML.
This is known *bug* with IE that has been much publicised on forums as an
incompatibility between it and Google Maps code.
Randy Webb said:Mika said the following on 11/19/2007 5:05 PM:Randy Webb said:Mika said the following on 11/19/2007 3:51 PM:
Mika wrote:
<snip>
Thanks for all the tips. Hopefully MS will fix the bug before even
more programmers hate their browser, even if the majority of public
don't.
Okay it turns out we jumped the gun as the problem is still
happening, albeit less often. It is completely random.
The problem is that some code is trying to dynamically create DOM
elements before the page is complete (i.e. before the </body> tag). IE
won't tolerate this.
Wow, IE got it right. Imagine that.
Can anyone suggest another way to do this (which doesn't work)?:
<!--[if IE]></body><![endif]-->
Have you tried using document.write("<\/body>"); ?
Apologies, could you put the code in context and in laymen's terms
please? Exactly what should we add to make only IE see a </body>
command?
Instead of trying to work around flaws in your design, maybe you should
be trying to make your code work with valid HTML.
This is known *bug* with IE that has been much publicised on forums as an
incompatibility between it and Google Maps code.
I like that mentality. Code doesn't work in a browser and it must be the
browser - and not the code - that has a "bug" in it.
Stevo said:Mika said:Apologies, could you put the code in context and in laymen's termsCan anyone suggest another way to do this (which doesn't work)?:
<!--[if IE]></body><![endif]-->
Have you tried using document.write("<\/body>"); ?
please? Exactly what should we add to make only IE see a </body> command?
I'm not up on using conditional comments, I try to avoid them, but I would
imagine this would work (using the conditional comments syntax from your
example because I don't know the syntax):
<!--[if IE]>
<script type="text/javascript">document.write("<\/body>");</script>
<![endif]-->
Stevo said:I'm not up on using conditional comments, I try to avoid them, but I wouldMika said:Can anyone suggest another way to do this (which doesn't work)?:
<!--[if IE]></body><![endif]-->
Have you tried using document.write("<\/body>"); ?
Apologies, could you put the code in context and in laymen's terms
please? Exactly what should we add to make only IE see a </body> command?
imagine this would work (using the conditional comments syntax from your
example because I don't know the syntax):
<!--[if IE]>
<script type="text/javascript">document.write("<\/body>");</script>
<![endif]-->
Thanks Stevo, it doesn't seem to work. IE ignores it.
Out of interest why does body have a double-slash "\/" before it?
I wonder if there is another way to say "only if you are IE, close the body
tag here"...
I wonder if there is another way to say "only if you are IE, close the
body tag here"...
"rf said:I wonder if there is another way to say "only if you are IE, close the
body tag here"...
<!--[if IE]></body>><![endif]-->
<!--[if IE]></body>><![endif]-->
Steven Saunderson said:<!--[if IE]></body>><![endif]-->
Why do you have ">>" not ">" after body ?
Why do you have ">>" not ">" after body ?
Sorry campers, that would be a typo.
<!--[if IE]></body><![endif]-->
Steven said:Why do you have ">>" not ">" after body ?
Sorry campers, that would be a typo.
<!--[if IE]></body><![endif]-->
Thanks for the clarification. I wondered if I was missing something
here.
I should have thought that was obvious.Andy said:What makes you think that?
Yeah, granted. Microsoft have never been that great and they stillRandy said:The Magpie said the following on 11/19/2007 1:38 PM:
<sarcasm>
I agree. The support in IE (The most predominant browser on the web)
makes it so safe for the web.
<sarcasm>
Out of interest why does body have a double-slash "\/" before it?
Steven Saunderson said:<!--[if IE]></body>><![endif]-->
Why do you have ">>" not ">" after body ?
The said:I should have thought that was obvious.
HTML was designed from the start as a subset of SGML that would permit
lax coding of tags
and allow addition of non-specified tags
such as the many that Microsoft chose to add to their own implementation
back to HTML 3.x and earlier.
XHTML is - of course - simply XML.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.