Jul 10, 2008
Internet Explorer PNG Fix
(1) Call or Upload this .htc file onto your server where your .css file is located.
(2) Call or Upload blank.gif to the same directory as the .htc and .css files.
(3) Call the following in your css file: img, div { behavior: url(iepngfix.htc) }
(4) Make sure that you specify the exact height and width of any .png image.
Double Click Requirement “Fix” in Internet Explorer
This is an example of your original code that needs to be replaced. This is why it is commented out.
<!– <object width=”850″ height=”253″ id=”slideshow”>
<param name=”movie” value=”directory/filename.swf”>
<embed src=”directory/filename.swf” width=”850″ height=”253″ id=”slideshow”>
</embed>
</object> –>
(1) Use this piece of code instead:
<div id=”flashcontent”>
</div>
<script type=”text/javascript”>
var so = new SWFObject(“directory/filename.swf”, “slideshow”, “850”, “253”, “8”, “#c56536”);
so.write(“flashcontent”);
</script>
(2) You must also upload this .js file onto your server.
(3) You must also call the .js file in the <head> tag of the page, like so.
<script type=”text/javascript” src=”swfobject.js”></script>
We hope that these help you with common Internet Explorer issues.
Thanks for visiting our website!