Z-index Won't Work

后端 未结 3 1896
误落风尘
误落风尘 2020-12-11 23:34

Possible Duplicate:
Css z-index problem

I have an issue where one image is infront of another and z-index doe

3条回答
  •  南方客
    南方客 (楼主)
    2020-12-12 00:30

    z-index:0; isn't a good value to use. You should use 1 as a minimum. 1 is the window base. 0 is technically below the window.

    You simply need to call the right element (the anchor not the image within it) since the anchor is the container. Then it's a matter of margins and position for placement.

    jsFiddle Here

提交回复
热议问题