Kein Dropdown beim Internet Explorer

  • Hallo,

    eigentlich sollen sich bei meinem Theme die Unterseiten beim "überfahren" der Oberseite im Menü als Dropdownmenü darunter angezeigt werden. Dies funktioniert wunder im Safari und Firefox, leider aber nicht im Internet Explorer. Woran kann das liegen.

    Anebi meine CSS-Einstellungen für die Navbar:

    /************************************************
    * Navbar *
    ************************************************/

    #nav {
    margin: 0px;
    padding: 0px;
    list-style: none;

    position:absolute;

    color: #FFFFFF;
    margin: 0px auto 0px;
    padding: 0px 0px 0px 0px;
    z-index:1000;
    text-decoration:none;
    font-size:17px;
    font-weight:bold;}
    }

    ul#nav {
    margin: 0;
    padding: 0;
    position: absolute;
    list-style: none;
    bottom: 0;
    }

    ul#nav li a {
    display: block;
    color: #fff;
    text-decoration: none;
    padding: 5px 10px;
    }

    #nav a {
    color: #FFFFFF;
    display: block;
    font-weight: bold;
    margin: 0px 25px 0px 0px;
    padding: 00px 00px 0px 00px;
    }

    #nav li {
    float: left;
    margin: 13px;
    padding: 0px;
    }

    #nav li li {
    float: left;
    margin: 5px;
    padding: 0px;
    width: 110px;
    }

    #nav li li a, #nav li li a:link, #nav li li a:visited {
    background: #1AA111;
    font-size:14px;
    color: #FFFFFF;
    width: 150px;
    float: none;
    margin: -50px 00px 00px 00px;
    padding: 02px 02px 2px 02px;
    border-bottom: 1px solid #FFFFFF;
    border-left: 1px solid #FFFFFF;
    border-right: 1px solid #FFFFFF;
    border-top: 1px solid #FFFFFF;
    }

    #nav li li a:hover, #nav li li a:active {
    background: #1A4E88;
    color: #FFFFFF;
    }

    #nav li ul {
    position: absolute;
    width: 10em;
    left: -999em;
    }

    #nav li:hover ul {
    left: auto;
    display: block;
    }

    #nav li:hover ul, #nav li.sfhover ul {
    left: auto;
    }

    • Anzeige

    Hallo!

    Wenn du gerade an deiner Website arbeitest oder dein aktuelles Hosting überdenkst: Wir betreiben mit NetzLiving eine Hosting-Plattform, die speziell auf Performance, Sicherheit und einfache Verwaltung ausgelegt ist.

    • ✔️ Schnelle Ladezeiten (optimiert für WordPress & Co.)
    • ✔️ Deutsche Server & DSGVO-konform
    • ✔️ Persönlicher Support (kein 0815-Ticket-System)

    Mehr erfahren

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!