PDA

View Full Version : Can't Display Image in Firefox



raphael9999
06-22-2006, 05:06 AM
Hi. I m having a hard finding what the problem with this code: it can't dispaly images in firefox but its perfect in IE.

html code:
<div id="container">
<ul>
<li>
<img src="file:///D|/Superman Site/Resource/super_800_1.jpg" alt="Alpha" title="Alpha" />
<br />
ALPHA
<br />
Photographed by Dorota Mrowka, courtesy of the stock.xchng
</li>
</ul>
</div>


css code:
#container {
position:relative;
width:770px;
height:396px;
margin:20px auto 0 auto;
border:1px solid #aaa;
}

thanks.

djr33
06-22-2006, 06:52 AM
I'm not sure if this is the problem, but you are linking to your hard drive for the image.

It might be that you have it cached in your temporary files for internet explorer, or something, but not in Mozilla.

Is the page web based or are you previewing locally?

Also, might be good to add width/height tags for the images, but those aren't required.