Hi everyone! I’m a super noob. Why is the area beside the photo clickable? I only want the photo to be linked to another page. Thank you in advance! (sorry it only lets me upload one image at a time)
it’s the display: block
you have an in-line element (the anchor) around a block element (the image) so all the block element becomes a link
but look at the errors in your code, you have a semicolon instead of a colon in one of your css rules, first thing marked red
2 Likes
Ah, I see. Thank you. Appreciate it
1 Like