suckerfish funktioniert gut, nur das untermenü will ich um genau 1 px nach links verschieben, nur ich weis nicht wie
lauffähiger code:
lauffähiger code:
Code:
/*SUBMENUUUU*/ #nav li {float:left;display: inline;border-right:1px solid #6D5D4D;margin-right:0px;} .erste{margin-left:36px;border-left:1px solid #6D5D4D;} #nav li a {color:white;display:block; padding:0px 12px 0px 12px;} #nav li:hover ul,#nav li.sfhover ul {left:auto;} #nav li:hover,#nav li.sfhover {background-image:url("../img/navbghover.jpg");} /*2. Ebene*/ [b]#nav li ul {position: absolute;top:auto;left:-999em;}[/b] [b]#nav li:hover ul,#nav li.sfhover ul {left:auto;}[/b] #nav li li {float:none;display:block;} #nav li li a{display:block; color:#6B5D4C;font-size: 0.75em;padding-top:0px;background-color:#E8C79C; border:1px solid #6D5D4D;border-top:none; border-right:none; padding:0px 12px 0px 12px;} #nav li:hover li,#nav li.sfhover li {background-image:none;} #nav li li a:hover {/*background-color:#FAD7AA;*/ color:black;} /*IEFIX*/ li > ul { top: auto; left: auto; } /*SUBMENUUUU*/
Kommentar