How do I use the z-index properly?

后端 未结 2 950
一向
一向 2020-11-30 15:31

See this page here:

http://www.blakearchive.org/blake/public/exhibits/canterburySpecial.html

The menu bar is supposed to go above the text and the red and b

2条回答
  •  离开以前
    2020-11-30 16:29

    z-index applies to positioned elements.

    Positioned elements are defined as elements for which the position property has a value other than static.

    static is the default value.

    You haven't applied a different position value to any of your elements.

    You probably want position: relative;.

提交回复
热议问题