daved2424
05-27-2007, 06:27 PM
I am using the Active X control to display a transparent PNG. It works, except for a thin line above the image and a small square in the top right of it.
http://holidaymaps.googlepages.com/world2.html
The image is contained like this:
<DIV>
<OTHER IMAGE />
<BR>
<PNG IMAGE />
</DIV>
The html I am using embeded in JavaScript is:
<div id=holder" style="height:250px; width:250px; filter:alpha(opacity=60); -moz-opacity: 0.60; opacity:0.60"><img id="pixel" src="pixel.jpg" height="' + (myHeight - 160) + '" width="' + myWidth + '" /><br><img id="gradient" STYLE="filter:progid:DXImageTransform.Microsoft.AlphaImageLoader (src=\'gradient.png\',sizingMethod=\'scale\');" height="60" width="' + myWidth + '" /></div>
Does anyone know what I am doing wrong?
http://holidaymaps.googlepages.com/world2.html
The image is contained like this:
<DIV>
<OTHER IMAGE />
<BR>
<PNG IMAGE />
</DIV>
The html I am using embeded in JavaScript is:
<div id=holder" style="height:250px; width:250px; filter:alpha(opacity=60); -moz-opacity: 0.60; opacity:0.60"><img id="pixel" src="pixel.jpg" height="' + (myHeight - 160) + '" width="' + myWidth + '" /><br><img id="gradient" STYLE="filter:progid:DXImageTransform.Microsoft.AlphaImageLoader (src=\'gradient.png\',sizingMethod=\'scale\');" height="60" width="' + myWidth + '" /></div>
Does anyone know what I am doing wrong?