Position issues:fixed



  • The menu is placed upstairs, but when the page is open, some elements fall over the menu.

    nav {
        font-family: AA;
        font-size: 19px;
        font-weight: bold;
        text-align: center;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        height: 11%;
        background-color: azure;
        border-bottom-width: 1px;
        border-bottom-style: solid;
    }
    <nav id="menu">
        <a href="#top">Головна</a> 
        <a href="#services">Послуги</a> 
        <a href="#galery">Ескізи</a>
        <a href="#work">Роботи</a>
        <a href="#contact">Контакти</a>
    </nav>

    There's all the elements up there. positon: absoluterelative♪ ♪ ♪
    Used even position: relative &quot; z-index 1



  • Go ahead. nav { z-index: 9999; }And make sure there's no such thing as "dance" on the menu. z-index More than that. nav


Log in to reply
 


Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2