Vanilla 1.1.4 is a product of Lussumo. More Information: Documentation, Community Support.
<div><a href="..."></a></div>
a {
display:block;
height:inherit;
width:inherit;
}
<div class="hover"><a href="..."></a></div>
div.hover a {
...
}
<div><a class="hover" href="..."></a></div>
a.hover {
...
}
Why use divs at all in this case? Just use "a" tags, and make them "display: block;". Then, you can use the same positioning as you would with a div without the extra markup.
Apply the background image to the link, change it on hover, and use a negative text-indent to hide the text of the link.
1 to 7 of 7