I'm having problems with the toolbar for my website ... I do a good job of this, but some parts of it do not work too well. I'm trying to make the image change color / image on hover. However, this does not work when I use the background-image tag in css. It shows the original image that I had, but does not change ... That's what I still have
#heading-button-1{
margin-left: 15%;
background-image: url(toolbar-button-home-default.png);
display: block;
}
#heading-button-1:hover{
background-image: url(Website/toolbar-button-tracks-highlighted.png);
width: 7%;
height: 8%;
display: block;
}
<a type="button" id="heading-button-1" title="Home" href="#" target="_blank" class="toolbar-buttons">
</a>
<a title="Tracks" href="#" target="_blank" class="toolbar-buttons">
<img type="button" id="heading-button-2" src="Website/toolbar-button-tracks-default.png" width"7%" class="toolbar-buttons"/>
</a>
But this doesnβt seem to work, as you can see in the screenshot I took. I am using Adobe Dreamweaver CC 2015, so if you have any links, suggestions or solutions, please help :)
source
share