Applet-tag in IE6 kills remaining HTML code

  • Thread starter Thread starter andrewfsears
  • Start date Start date
A

andrewfsears

I'm not sure if i'm in the right group, but...

I have an applet loaded in a webpage by the <applet> tag, and in IE,
everyline of HTML code is not shown (though if i look at the source
through IE "view source", it's all there).

Does anyone have an idea what might be going on?
 
Hi Andrew,

I have had a similar problem. On IE6 SP1 my page rendered completely, while
on IE6 SP2 (winXP) the page rendered blank but the source was visible. The
reason is the difference in the html rendering engine versions. SP2 is less
tolerant of HTML syntax errors or orphaned tags.

I eventually found in my page an orphaned script tag, which I suspect will
be your problem since you are probably using a script tag after your
<applet>. So check that you have not omitted the </script> tag at the end of
your script block.

Regards.
 
Rob said:
I eventually found in my page an orphaned script tag, which I suspect will
be your problem since you are probably using a script tag after your
<applet>. So check that you have not omitted the </script> tag at the end of
your script block.


Worse than that, I had just lazily put <applet .... />. When I changed
it to <applet ...></applet>, it worked.

Rob, thank you very much, Andy
 
Yeah, Its a real gotchya! took me ages to find it. Specially when it worked
fine on a Win2K machine but not on XP. Darn those MS developers!
 
Back
Top