first_page the funky knowledge base
personal notes from way, _way_ back and maybe today

XHTML Problem: Internet Explorer Shows Blank Page When <script /> Is Present; Minimized script elements

Minimized script elements are interpreted as open elements by Internet Explorer up to version 6.x. It follows that

&lt;script type=&quot;text/javascript&quot; src=&quot;...&quot; /&gt;

will be seen as

&lt;script type=&quot;text/javascript&quot; src=&quot;...&quot;&gt;

This will effectively consume any elements following. So when a script element appears within the head element, an entire document can disappear! This, of course, is the workaround:

&lt;script type=&quot;text/javascript&quot; src=&quot;...&quot;&gt;&lt;/script&gt;
mod date: 2005-08-02T23:09:20.000Z