habe ein normales Submenue ... wird natürlich als
- Code: Alles auswählen
<ul><li>
jetzt das Problem:
wenn ein Link aus 2 Wörtern besteht oder mit einem Bindestrich getrennt wird, dann macht er einfach einen Zeilenumbruch...
mal ein Beispiel:
- Code: Alles auswählen
<li>Beispiel</li>
- Code: Alles auswählen
<li>Bei spiel</li>
Bei
spiel
Ich poste mal den css code, vlt kann mir ja jemand helfen ist sehrwahrscheinlich nur ein kleines Problem:
- Code: Alles auswählen
#submenue {
margin-top: -3px;
margin-left: 100px;
width: 220px;
overflow: hidden;
line-height: 30px;
}
#submenue li{
list-style: none;
width: 171px;
display: block;
}
#submenue a{
font-family: Arial, Verdana, Tahoma;
font-size: 14px;
color: #171717;
text-decoration: none;
letter-spacing: -1px;
background-image: url(gfx/sub_list.jpg);
padding-left: 10px;
background-repeat: no-repeat;
width: 171px;
padding-right: 200px;
padding-top: 5px;
padding-bottom: 5px;
}
