I have a div with a absolute position and a div with relative position. The first div contains the links and the second div contains some contents which is over the first div. The first div has a z-index of 1, while the second has a z-index of -1 and the first div is also declared first.
Although, the links in the first div are unclickable. I have now idea, why this is so.
Both side1 and side2 will have a background image. And the content should appear over the sides, but the links should still work.
Either change
.sideto havez-index: 1, or change#containerto havemargin-top: 150pxinstead ofpadding-top.#bookshas az-indexof 1, but it’s inside a container with az-indexof -1, so it still ends up below the#containerwhich hasz-index: -1but gets rendered after (thus on top).