I have a DIV that changes its color when hovered over
I am looking to change the image inside the div when hovering over the entire div, not necessarily just on the image itself.
Here is the HTML:
<div class="about">
<img class="about-project1">
In the CSS:
.about-project1 {
width: 121px;
height: 42px;
background: url("img/coching.png") no-repeat;
border: 0;
}
.about:hover h3 {
color: #fff;
}
.about a.about-project1:hover {
background: url("img/coching_white.png") no-repeat;
}
Also, why does the image appear with a border even though I have declared border:0?
Thank you very much,
Udi