|
||||
Horizontale Navigation Background Image: height?
Hallo,
Folgendes Problem macht mir zur Zeit zu schaffen: Ich habe eine horizontale Navigationsleiste mit einem Hovereffekt. Das Hintergrundbild soll bei "hover" wechseln. Das funktioniert soweit auch. Allerdings kann ich keine Höhe zuweisen. Das Hintergrundbild wird also zugeschnitten. Wie kann ich das verhindern? Hier das betreffende CSS: Code:
#topnavi-container { height: 45px; background: url("/hugin/css/img/navi.png") left repeat-x #000000; } #topnavi-container a{ font-family: Mephisto; font-size: 2em; color: #56210e; } #topnavi-container a:hover{ background: url("/hugin/css/img/navi_hover.png") left top repeat-x; color: #bb661d; } #ulnavlist { padding-top: 12px; padding-left: 20px; } #navlist li { display: inline; list-style-type: none; padding-right: 20px; } Ich hoffe, Ihr versteht was ich meine und könnt mir weiterhelfen. Besten Dank im Voraus |
Sponsored Links |
Themen-Optionen | |
Ansicht | |
|
|
Ähnliche Themen | ||||
Thema | Autor | Forum | Antworten | Letzter Beitrag |
Inline Listenelement wird nicht richtig im background befüllt | SteveB | CSS | 3 | 28.04.2011 21:41 |
Darstellungsprobleme im IE | lea11011989 | CSS | 17 | 05.11.2010 10:44 |
Frage zu horizontalen Linien | marvin1989 | CSS | 3 | 30.12.2009 00:35 |
Float-Reihenfolge? | wolf1985 | CSS | 0 | 21.08.2008 02:35 |
Mozilla zeigt DIV zu oft an | cracki | CSS | 6 | 09.03.2008 16:22 |