I've encountered a new issue recently that seems to be related to a browser bug in Edge. I'm facing difficulties with .jpg images not displaying properly in Edge, although they show up fine in IE, Chrome, and Firefox. Instead of the images, all I see is a colored block (different colors for different images) even though there are no background colors or color attributes specified. These images have styles like radius and shadow applied to them, but removing these styles doesn't resolve the issue.
Interestingly, when I right-click and save the image, the correct jpg file is downloaded, indicating that the link is functioning correctly. The images also work on other browsers without any issues. However, this problem persists specifically on Edge, despite no changes that I'm aware of. Any insights on how to troubleshoot this?
View in Edge:
https://i.sstatic.net/gZmTn.png
View in other browsers:
https://i.sstatic.net/IWTpm.png
I have already tried removing styles and checked for overlapping divs or common problems, but everything appears to be in order.
.sitelinks {
margin: 10px 42px 10px 45px;
padding: 20px 5px 20px 5px;
width: 180px;
vertical-align: top;
display: inline-block;
}
.sitelinks:hover {
background: #CCC;
}
.sitelinks img {
width: 1px;
height: 1px;
box-shadow: 3px 5px 12px #000000;
border-radius: 50%;
}
.sitelinks img:hover {
-o-transform: scale(1.06);
-webkit-transform: scale(1.06);
-ms-transform: scale(1.06);
-moz-transform: scale(1.06);
transform: scale(1.06);
}
.desc {
padding-left: 10px;
padding-top: 10px;
width: 160px;
text-align: center;
font-size: 1.4em;
color: #333;
font-family: 'Quicksand', sans-serif;
font-weight: 600;
}
<div class="sitelinks">
<a href="services.php" target="_self"><img id="link1"
src="assets/img/services_ico.jpg" alt="Our Services"></a>
<div class="desc"><a href="services.php" target="_self">Our Services</a>
</div>
</div>
<div class="sitelinks">
<a href="contact.php" target="_self"><img id="link2"
src="assets/img/contact_ico.jpg" alt="Contact the team"></a>
<div class="desc"><a href="contact.php" target="_self">Contact Us</a></div>
</div>
<div class="sitelinks">
<a href="photos.php" target="_self"><img id="link3"
src="assets/img/gallery_ico.jpg" alt="Picture Gallery"></a>
<div class="desc"><a href="photos.php" target="_self">Photo gallery</a>
</div>
</div>
<div class="sitelinks">
<a href="reviews.php" target="_self"><img id="link4"
src="assets/img/feedback_ico.jpg" alt="Customer reviews"></a>
<div class="desc"><a href="reviews.php" target="_self">Customer
testimonials and reviews</a></div>
</div>
These four images share the same HTML structure