Applet-tag in IE6 kills remaining HTML code

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?
 
R

Rob ^_^

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

andrewfsears

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
 
R

Rob ^_^

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!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top