You are here: Re: IE cannot open the Internet site ... Operation aborted « HTML « IT news, forums, messages
Re: IE cannot open the Internet site ... Operation aborted

Posted by Mika on 11/19/07 23:06

"Stevo" <please@spam-me.com> wrote in message
news:fht3gu$ctk$02$1@news.t-online.com...
> Mika wrote:
>>>> 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?
>
> 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]-->

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"...

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация