Problem mit Menü: Das Untermenü wird nicht genau unter dem aktiven positioniert. Was mache ich falsch? Kann mir wer helfen?
Code:
#header{
height:30px;
overflow:visible; /* hidden */
background-color:#f7a549;
}
#header .inside{
width: 996px;
margin: 0 auto;
/* */
z-index: 900;
overflow: visible;
position: relative;
}
/* Menue */
#header {
font-size: 14px;
color:#fff;
font-weight:bold;
line-height: 30px;
}
#header a, #header a:visited{
color:#fff;
}
#header ul{
margin:0;
padding:0;
list-style:none;
text-align: right;
}
#header li{
display: inline;
padding: 0 10px;
}
/*#header ul ul{
display:none;
}
*/
/* Menue Ebene 2 */
#header li ul{
position:absolute;
background:#f7a549;
width:250px;
top:30px;
left:250px;
z-index:999;
line-height:2;
padding:11px 0 25px;
display:none;
}
#header li:hover ul{
display:block;
}
#header li ul a{
padding: 7px 20px;
text-transform:none;
font-weight:normal;
}
#header li ul li{
display:block;
float:none;
}
Lesezeichen