-2

So I have a simple element with a png image in it, however on my page, only some areas of the image are click-able. I have no idea what the problem is.

#thumbnail {
 position: relative;
 float: left;
 height: 350px;
 padding-left: 25px;
 padding-right: 100px;
}
<a href="Design.html"><img id="thumbnail" src="Design.png"></a>

As you can see there is nothing unusual about the image, I don't know why it is doing this. Also in the areas that you can't click, the cursor of course does not change to the pointer.

timolawl
  • 5,434
  • 13
  • 29
MilkToast
  • 201
  • 1
  • 3
  • 11

1 Answers1

0

Turns out it was an issue with the z-index of the image being the same as the div it was in.

MilkToast
  • 201
  • 1
  • 3
  • 11