Hello everyone,
I am redesigning a website and I want to change the background color of a PNG (with transparent pixels), when clicked.
Apparently, my only half of the background is changing.
HTML:
<a href="">
<img src="Images/logo.png" alt="Logo" style="display: block; margin-bottom: -4px; border: 0px;"/>
</a>
CSS:
a:link {
outline: none;
}
a:visited{
outline: none;
}
a:hover {
background-color: #CCCCCC;
}
a:active {
background-color: #CCCCCC;
}
Thanks in advance!