Hi,
ich hab die letzten Tage ein DEsign an ein einfaches CMS angepasst und so weit klappt auch alles.
Außer der Mouseover wird nicht richtig dargestellt (siehe Anhang).
Das Problem ist, dass nur der Text als Link genommen wird, dh. ein Mouseovereffekt tritt auch nur ein, wenn ich über den Text fahre nicht jedoch über zb das rechte untere Eck des Buttons.
Ich vermute, dass die Lösung in dem Bereich des Codes liegt, könnte mich aber auch irren, da der Code mit Sicherheit von Mängeln nur so wimmelt
Code
.mainmenu {
background-image:url('../grafiken/button.png');
background-repeat:no-repeat;
font-family:arial,verdana;
height:36px;
}
.mainmenu a {
margin-top:10px;
font-size:15px;
font-weight:bold;
text-decoration:none;
height:36px;
width:166px;
}
ul.mainmenu {
margin-top: -440px;
margin-left:0px;
}
li.mainmenu {
margin-top:10px;
margin-left:0px;
}
a.menu {
color:#ffffff;
margin-left:56px;
}
a.menuactive {
background-image:url('../grafiken/button_.png');
background-repeat:no-repeat;
margin-left:46px;
color:#ffffff;
min-height:36px;
min-width:166px;
padding:1px 54px 36px 10px;
}
.menu:hover {
background-image:url('../grafiken/button_.png');
background-repeat:no-repeat;
margin-left:46px;
color:#ffffff;
min-height:36px;
min-width:166px;
padding:1px 54px 36px 10px;
}
Alles anzeigen
Danke für die Hilfe
LG