views:

10

answers:

1

I've been sarching for a solution for this for a couple of days now... I've got this web site writen in asp/c#, and when I display images through asp code like:

<img src="images/someImg.png" id="Img1" alt="" align="top" border="0" width="295" height="35" style="position:absolute;left:327px; top:545px; width:295px;height:35px;z-index:11" /> 

the problem is, in every other browser the page looks perfect, but in IE images are displayed and on top of them there is the little red X which is show when the picture is missing... so.. the picture is obviusly not missing becouse it is shown in EVERY browser, but in IE it is shown and there is the "missing picture" X on top of it...

most solutions on the web suggest adding a "./image/..." or "~/image/..." but I've tried it and it doesen't work...

also, when I display images from a database in any kind of default asp.net dataviewer (eg. detailsview) some of the pictures are shown normally, some with the little X on top... again, this is ONLY in IE, and ONLY with images with .png extension.. in every other browser it looks fine.. I even got the page validated and it works perfect..

does anybody know a solution? i tried a couple of png fixes i could find and still nothing... thanks in advance...

ps: i'm currently running the page locally, could this be a problem??...

+1  A: 

haha.. anyway, got it working with http://www.twinhelix.com/css/iepngfix/demo/

Andrej