Screw Internet Explorer! This is one of the many reasons I prefer to avoid having a browser render anything at all for me. Can’t trust it! Better to just take care of these things before it even hits the browser:
Java JSP example
1 2 3 4 5 6 7 8 9 10 11 12 13 | String embedCode1 = item.getEmbedCode(); String expression1 = "><param"; String replacement1 = "><param name=\"wmode\" value=\"transparent\"><param"; String embedCode2 = embedCode1.replace(expression1, replacement1); String expression2 = "<embed "; String replacement2 = "<embed wmode=\"transparent\" "; String embedCodeFinal = embedCode2.replace(expression2, replacement2); <div class="embedHolder"> <%=embedCodeFinal%> </div> |
What am I talking about? You can read up on my original article if it pleases you.