Zitat:
Zitat von glupto
Danke, aber nun hängt der erste Listenpunkt bei den Submenus in der Luft, so dass er nicht mehr erreichbar ist. Und dieSchrift sitzt nicht mehr vertikal mittig und die Breite ist jetzt auch anders.
|
Hier neu anpassen
Code:
}
#menu1 li {
padding: 6px 0;
}
#menu1 ul {
background: linear-gradient(#444, #111) repeat scroll 0 0 rgba(0, 0, 0, 0);
border-radius: 5px;
box-shadow: 0 0 2px rgba(255, 255, 255, 0.5);
display: none;
left: 0;
list-style-type: none !important;
margin: 0;
padding: 0;
position: absolute;
top: 30px;
z-index: 99999;
}
#menu1 ul li:first-child > a:after {
border-bottom: 8px solid #444;
border-left: 5px solid transparent;
border-right: 5px solid transparent;
content: "";
height: 0;
left: 30px;
position: absolute;
top: -10px;
width: 0;
}
_____________-
MfG Roland