Navigation HILFE
Hi!
habe ein kleines Problem. Habe die Navi für meine HP gemacht, sie ist soweit auch fertig, an einer Stelle kommen ich nicht weiter. Die Navigation ist richtig platziert, sie soll nur noch weiter nach unten. Benutze ich dazu den befehl top: ;? Wenn ich den TOP Befehl nehmen muss, wo muss er dann rein? oder ist es ein ganz anderer? LG softgame! :lol: **Hier ist der CSS-Code.** ul#Navigation { width: 100px; margin: 0; padding: 5px; border: 1px solid black; background-color: gray; } html ul#Navigation { width:100px; padding-left: 5px; padding-left: 5px; } ul#Navigation li { list-style: none; margin: 20px; padding: 2px; } ul#Navigation a { display:block; padding: 5px;; text-decoration: none; font-weight: bold; border: 1px solid black; border-left-color: white; border-top-color: white; color: maroon; background-color: #ccc; } * html ul#Navigation a { width: 100px; } ul#Navigation a:hover { border-color: white; border-left-color: black; border-top-color: black; color: white; background-color: gray; } |
"top" wird nur für positionierte Elemente genutzt.
Ein deinem Fall wohl eher margin-top ;) |
Alle Zeitangaben in WEZ +2. Es ist jetzt 06:50 Uhr. |
Powered by vBulletin® Version 3.8.11 (Deutsch)
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
© Dirk H. 2003 - 2023