Hallo Leute,
Ich habe das Drop-Down-Menü unserer Homepage (http://www.feuerwehr-suedost.de) verändert. Neben einer neuen Farbe und einer anderen Transparenz
habe ich via CSS die Eigenschaft "border-bottom: 1px solid #eeeeee;" eingefügt um eine untere Linie im Menü zu haben. Nun ist das Problem das
sämtliche Linien länger sind als das Menüfenster selber. Ich habe im CSS unter "navigation" sämtliche Änderungen einzelner Werte getestet. Leider
hatte ich keinerlei Erfolg. Wie bekomme ich die Linien kürzer?
Anbei der betreffende CSS-Abschnitt für das Drop-Down-Menü:
/*******************/
#topmenu {
float:left;
width:100%;
height:55px;
background: #303030;
margin-top:0px;
}
.navigation {
float:left;
width: 100%;
background:transparent;
margin-top: 0px;
}
.navigation ul {
list-style: none;
margin:0;
padding:0;
}
.navigation ul ul {
margin: 0;
padding: 0;
}
.navigation ul li {
margin:0;
padding: 0;
float: left;
list-style: none;
background: none;
display: block;
}
.navigation ul li ul {
width: 200px;
position: absolute;
z-index: 99;
left: -999em;
height: auto;
width: 200px;
}
.navigation ul li ul ul {
margin: 0;
}
.navigation ul li li {
padding: 0;
margin: 0;
width: 100%;
}
.navigation ul ul a {
width: 100%;
}
.navigation ul li:hover ul ul,
.navigation ul li:hover ul ul ul,
.navigation ul li.sfhover ul ul,
.navigation ul li.havechildsfhover ul ul,
.navigation ul li.havechild-activesfhover ul ul,
.navigation ul li.activesfhover ul ul,
.navigation ul li.sfhover ul ul ul,
.navigation ul li.havechildsfhover ul ul ul,
.navigation ul li.havechild-activesfhover ul ul ul,
.navigation ul li.activesfhover ul ul ul {
left: -999em;
}
.navigation ul li:hover ul,
.navigation ul li li:hover ul,
.navigation ul li li li:hover ul,
.navigation ul li.sfhover ul,
.navigation ul li.havechildsfhover ul,
.navigation ul li.havechild-activesfhover ul,
.navigation ul li.activesfhover ul,
.navigation ul li li.sfhover ul,
.navigation ul li li.havesubchildsfhover ul,
.navigation ul li li.havesubchild-activesfhover ul,
.navigation ul li li.activesfhover ul,
.navigation ul li li li.sfhover ul,
.navigation ul li li li.havesubchildsfhover ul,
.navigation ul li li li.havesubchild-activesfhover ul,
.navigation ul li li li.activesfhover ul {
left: auto;
}
.navigation ul li a {
padding: 15px 16px 0 16px ;
margin: 0;
display: block;
border-bottom: 1px solid #eeeeee;
font-weight: bold;
font-size:12px;
text-transform: uppercase;
background: transparent;
color:#fff;
text-shadow: 1px 1px 1px #000;
height:40px;
}
.navigation ul li a:hover {
color:#fff;
background:#cc0000;
height:40px;
opacity : 0.92;
-moz-opacity : 0.92;
-ms-filter: "alpha(opacity=70)"; /* IE 8 */
filter : alpha(opacity=70); /* IE < 8 */
}
.navigation ul li {
background: url(../images/bg-li.jpg) 100% 0 repeat-y;
}
.navigation ul li.active a {
color:#fff;
height:40px;
opacity : 0.92;
-moz-opacity : 0.92;
-ms-filter: "alpha(opacity=70)"; /* IE 8 */
filter : alpha(opacity=70); /* IE < 8 */
}
.navigation ul li ul {
background:#cc0000;
margin-top: 0px;
text-align:left !important;
opacity : 0.92;
-moz-opacity : 0.92;
-ms-filter: "alpha(opacity=70)"; /* IE 8 */
filter : alpha(opacity=70); /* IE < 8 */
}
.navigation ul li ul li {
padding-bottom:0px ;
background:none !important;
}
.navigation ul li ul li a{
height:35px !important;
color:#fff !important;
text-align:left !important;
padding-left:20px !important;
}
.navigation ul li ul li a:hover {
color:#fff !important;
background:#cc0000;
width:165px;
}
.navigation ul li ul li ul {
margin-left:180px;
margin-top: -30px;
padding-bottom: 3px;
padding-top:10px !important;
text-align:left !important;
padding-bottom: 0px;
background:#cc0000;
opacity : 0.92;
-moz-opacity : 0.92;
-ms-filter: "alpha(opacity=90)"; /* IE 8 */
filter : alpha(opacity=90); /* IE < 8 */
}
/*********************/
Vielen Dank im voraus!