I'm making a custom menu on WordPress and added a div style to turn the text into a clickable image.
<div style="
background-image: url('http://www.luchaquest.net/home/wp-content/uploads/2012/12/first.png');
background-repeat: no-repeat;
display: center;
margin: 0;
padding: 0 0 0 20px;
width: 195px;
height: 70px;
"></div>
Everything so far is working, but I'd like it to have a hover action as well (should be accomplishable by having a line background-position: 0 -195px
) I'm not familiar with this style of programming at all.
How can I add the hover information into this code all in the same element?