MSIE has some limitations on XHTML. It doesn't understand self closing tags
when they are usually containing data. (Like <i/>, <b/>, <script/> ...)

As it is designed to work with HTML4 (not with XHTML), it is waiting for a
closing tag after data when in HTML4 the tag has to be closed, ignoring that
the tag is already closed in XML syntax.
So MSIE considers that the whole text after <script .../> is part of your
script and should not be displayed. So you must write <script ...></script>
for MSIE compatibility.

Such an issue is not reached with Mozilla, but you might encounter something
alike. The <script> tag doesn't cause such an effect, but an <i/> may
transform into italic the whole text until the end of the parent tag is
reached.

Yvan

> Thats what I would have thought BUT my IE is being really funny about it,
> its not liking it that way and only displays the page when I have
> <script src="../scripts/calendar.js"> </script>, hence why I want to find
> out where its being converted to <script language="JavaScript"
> src="../scripts/calendar.js"/>
>
> Change the tag to:
>> <script language="JavaScript" src="../scripts/calendar.js"/>
>
> Unfortunately that doesnt do anything :(


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to