The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS css z-index issue Reply To: css z-index issue


That’s the way positioning works

relative means relative to itself…if don’t add any position values the element won’t move.

It’s not entirely clear what you are trying to achieve but I suspect that position:absolute for the anchor link would the right method if you are trying to place the link over the image.

Perhaps you could make a demo?