Reputation:
I have a problem with my website. Have defined image on index. Image shows only in firefox. In chrome it doesn't show and I don't know why.. Can anybody help me? Thank you
index.php
<div id="advert">
<a href="#"><img src="img/advertisement/topbanner.jpg" alt="MyWebsite" title="MyWebsite" /></a>
</div> <!-- advert -->
CSS
#advert {
height:200px;
width:460px;
}
Upvotes: 1
Views: 3322
Reputation: 1275
Sounds like an adblocker-problem. Try to rename the folder "advertisement" and/or the id "advert" into something like foo check if it works then.
Upvotes: 2
Reputation: 6346
Since the code is fine, my guess would be that the image has been saved in CMYK format, instead of RGB.
Or an ad blocker. Since you have an id of advert
, this will of course be blocked by an adblocker.
Upvotes: 0