While attempting to add 2 hover images to my website, I encountered an issue where a black border appeared in the middle of the images. This was caused by the hover effects on the links. Below is the code snippet:
a:hover,a:active {
color:Black;
outline:ridge;
text-outline:#000;
text-decoration:underline;
font-size:20px;
font-style:italic;
font-style:bold;
}
I attempted using a code snippet from a similar question on Stack Overflow but it did not resolve the issue.
a img:hover {
border: none !important;
}