Posted by Stevo on 11/19/07 22:42
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]-->
Navigation:
[Reply to this message]
|