|
|||
Dropdown Hover 3.Ebene klappt nicht auf
Hallo,
habe mich die letzten Tage etwas mehr mit CSS beschäftigt um ein Dropdown über <ul> und <li> tags zu bauen. Habe mich auch für die JS Variante entschieden. Bisher funzt alles wunderbar, sowohl IE6 als auch Firefox bis auf ein letztes Problem was ich nicht gelöst bekomme. Mein Dropdown besteht aus 3 ebenen, und die letzte Ebene öffnet sich nicht im IE6. Hier mein CSS: Code:
.navig { position: absolute; left: 400px; top: 111px; width: 700px; z-index: 1000; } #Navigation, #Navigation ul { list-style-type: none; } #Navigation a { display: block; padding: 3px 10px 3px 10px; font-weight: normal; } #Navigation li { padding: 0; margin: 0; float: left; height: 20px; width: 120px; } /* Für Unterpunkte keine Float-Eigenschaft */ #Navigation ul li { float:none; background-color: transparent; } /* Links auf Unterpunkten sollen die Hintergrundfarbe ändern */ #Navigation ul li.hover, #Navigation ul li:hover { background-color: #FFF9E4; } /* Zweite Ebene */ #Navigation ul { margin:0; padding: 0; position: absolute; background-color: #26383D; border: 1px solid #FFF9E4; display: none; width: 120px; } /* Zweite Ebene anzeigen */ #Navigation li.hover ul, #Navigation li:hover ul, #Navigation li.over ul { display: block; } /* Dritte Ebene */ #Navigation li.hover ul ul, #Navigation li:hover ul ul, #Navigation li.over ul ul{ display: none; margin-left: 120px; /* Breite eines Listenelements - Überlagerung */ margin-top: -20px; /* Höhe eines Listenelements */ } /* Dritte Ebene anzeigen */ #Navigation li.hover ul li.hover ul, #Navigation li:hover ul li:hover ul, #Navigation li.over ul li.over ul { display: block; } PHP-Code:
Gruß Maztah |
Sponsored Links |
Themen-Optionen | |
Ansicht | |
|
|
Ähnliche Themen | ||||
Thema | Autor | Forum | Antworten | Letzter Beitrag |
Hilfe css Menu center | xXcyberXx | CSS | 5 | 28.11.2010 20:51 |
Dropdown menu mit Hover-Images | pbs2h8 | CSS | 0 | 10.09.2009 15:46 |
CSS Navigation - Problem mit IE6 | pcklinik | CSS | 4 | 18.09.2007 13:04 |
Darstellungsproblem CSS Navigation im IE7 | pcklinik | CSS | 7 | 09.09.2007 18:25 |
CSS Einsteiger bittet um Hilfe | pcklinik | CSS | 0 | 06.09.2007 15:40 |