Answer the question
In order to leave comments, you need to log in
How to link to the top of an image?
You need to add a few more links to the top of the picture, like . The heading is added normally, but as /a> only I add the link - the picture increases in the sizes. I can't understand what is the reason. Help!
Code
PS Pictures are wrapped in links for the image viewer plugin to work.
Answer the question
In order to leave comments, you need to log in
I put each link in a separate div and put what should pop up on hover in another div next to this link and set the div (adjacent to the link)position: absolute
A link within a link is invalid code. The browser tries to fix the markup on its own and breaks the appearance.
You need to put additional links side by side, as sibling elements within a common parent element. When hovering over this parent, position additional links on top of the main image link.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question