I have 5 image links displayed side by side, but when I hover over them, they act as one collective link. Can someone please assist me with resolving this issue?
After updating my code to include the entire div, it seems that there is something within the code causing this behavior.
The changes suggested are effective here, but unfortunately not on my website. Any guidance in finding the error would be greatly appreciated.
/**********************************************************************************************************************************************Donation Boxes*/
.sponsors {
border: 1px solid transparent;
border-radius: 5px;
box-shadow: 0 1px 6px rgba(32, 33, 36, 0.28);
color: #242527;
font-family: Netflix Sans,Helvetica,Arial,sans-serif;
font-size: 17px;
font-weight: 300;
margin-bottom: 25px;
margin-top: 50px;
-moz-box-shadow: 0 1px 6px rgba(32, 33, 36, 0.28);
padding: 15px;
-webkit-box-shadow: 0 1px 6px rgba(32, 33, 36, 0.28);
width: 970x;
}
.sponsors img {
margin-right: 25px;
text-align: center;
vertical-align: middle;
width: 170px;
}
.sponsors-title a {
color: #da291c!important;
font-family: Netflix Sans,Helvetica,Arial,sans-serif!important;
font-size: 17px!important;
font-weight: 300!important;
line-height: 28px!important;
text-decoration: none!important;
}
.sponsors-title a:hover {
color: #242527!important;
font-family: Netflix Sans,Helvetica,Arial,sans-serif!important;
font-size: 17px!important;
font-weight: 300!important;
line-height: 28px!important;
text-decoration: none!important;
}
.sponsors-desc p {
color: #242527!important;
font-family: Netflix Sans,Helvetica,Arial,sans-serif!important;
font-size: 16px!important;
font-weight: 300!important;
line-height: 28px!important;
}
.sponsors-links {margin-left: 10px!important;
text-align: right;
vertical-align: right;
width: 100%;
}
.sponsors-links a:hover {
text-decoration: none!important;
}
.sponsors-links img {
height: 25px;
margin-right: 10px;
width: 25px;
}
<div class="sponsors">
<table style="width:100%">
<tr>
<td valign="top">
<img src="https://wpadvancedads.com/wp-content/uploads/2015/08/300x250.png">
</td>
<td valign="top">
<div class="sponsors-title">
<a href="https://www.capebretoncares.com/">Hotels</a>
</div>
<div class="sponsors-desc">
<p>What’s happening to the ocean is a drag, but talking about it doesn’t have to be. Lonely Whale collaborates with organizations, influencers, and creatives to launch data-driven campaigns that speak to Gen Z, Millennials, and more. Join us.</p>
</div>
<div class="sponsors-links">
<a href="https://www.bigblueoceancleanup.org/" target="_blank">
<img class="social-icon" src="https://www.capebretoncares.com/images/sponsor-icons/icon_web.png">
</a>
<a href="https://www.bigblueoceancleanup.org/" target="_blank">
<img class="social-icon" src="https://www.capebretoncares.com/images/sponsor-icons/icon_twitter.png">
</a>
<a href="https://www.bigblueoceancleanup.org/" target="_blank">
<img class="social-icon" src="https://www.capebretoncares.com/images/sponsor-icons/icon_insta.png">
</a>
<a href="https://www.bigblueoceancleanup.org/" target="_blank">
<img class="social-icon" src="https://www.capebretoncares.com/images/sponsor-icons/icon_facebook.png">
</a>
<a href="https://www.bigblueoceancleanup.org/" target="_blank">
<img class="social-icon" src="https://www.capebretoncares.com/images/sponsor-icons/icon_youtube.png">
</a>
</div>
</td>
</tr>
</table>
</div>