Hi guys,
Can you show me what I did wrong? Body overrides menu when scrolling.
Thanks a lot!
put z-index property a higher value,say 1 in your #menu ul part of CSS.(The z-index property specifies the stack order of an element.
An element with greater stack order is always in front of an element with a lower stack order.)
so it will be
#menu ul {
background: lightskyblue;
list-style-type: none;
text-align: right;
margin-left: -15px;
margin-right: -15px;
position: fixed;
z-index: 1;
}
It works!!! Thanks a lot!!!
You are Welcome