|
|||
Menu darstellungsprobleme
Hallo,
habe ein Style im CSS für mein Menü erstellt. Habe aber jetzt folgendes Problem. Wie bekomme ich es hin damit ich in der zweiten Ebene als Aufzählungszeichen ein anderes Bild bekomme wie in der ersten Ebene?! Code:
/* menu */ ul.menu { float:left; width:164px; background: url(../img/dots.gif) 0 top repeat-x; padding-top:1px; } ul.menu ul { float:left; width:164px; background: url(../img/dots.gif) 0 top repeat-x; } ul.menu li { float:left; width:164px; background: url(../img/dots.gif) 0 bottom repeat-x; padding-bottom:1px; } /* Menupunkt stylen */ ul.menu li a { float: left; width:148 px; padding: 4px 0 4px 16px; background: url(../img/arrow_menu.gif) 0 6px no-repeat; text-decoration:none; font-weight:bold; color:#7a7a7a; } ul.menu li:active > a { text-decoration:underline !important; } ul.menu li:hover > a { text-decoration:underline !important; } ul.menu li:hover > ul { text-decoration: none; } /* ab zweite Ebene */ ul.menu li li:hover > ul { text-decoration:none; } ul.menu li li a { padding: 3px 0 3px 29px; text-decoration: none; } /* Farben der einzelnen Ebenen (werden vererbt)*/ ul.menu a { } ul.menu ul a { font-weight:normal; } ul.menu ul ul a{ } ul.menu ul ul ul a{ } |
Sponsored Links |
Sponsored Links |
|
||||
Alle Code-Schnispel stehen bereits da Die vierte Regel ist die für a der ersten Ebene, und dort steht auch bereits eine background-Deklaration. Kopiere diese in die Regel für a der zweiten Ebene und passe sie dann an.
__________________
Wer keinen Link auf seine problembehaftete Seite posten kann, weil diese noch nicht online ist: Testcase bauen, online stellen, Link posten. Internet-Grundregel: Unbekannte Begriffe googeln! (Erspart 99% aller Nachfragen.) |
Themen-Optionen | |
Ansicht | |
|
|
Ähnliche Themen | ||||
Thema | Autor | Forum | Antworten | Letzter Beitrag |
Hilfe css Menu center | xXcyberXx | CSS | 5 | 28.11.2010 20:51 |
Linkverhalten im IE6 | ChOpSueY! | CSS | 19 | 19.05.2008 23:48 |
Drop Down Menu Positionsproblem | Schky | CSS | 4 | 21.04.2008 14:09 |
Problem mit vertikaler Navigation | Krissie | CSS | 0 | 15.08.2007 13:51 |