Currently facing a challenge trying to turn a list of images into clickable links. Here's how I have set them up in my HTML code:
<a href="plantvb1.html" class="plant1"><img src="img/plnt1_.png"></a>
and this is how they are styled in my CSS file:
a.plant1 {
position: absolute;
z-index: 1;
left: -20%;
width: 50%;
top: -20%;
}
The issue I'm encountering is that when I include the 'a' in my CSS selector, the image disappears... but without it, there is no functioning link.