Habe ein Problem mit CSS oder TS??
Die 1. Menüebene sehe ich, die 2. poppt einfach nicht auf, da ist sie aber!
Mein TS:
#############################################
# +ext nav_main (temp.nav_main) #
# YAML for TYPO3, Autoparser, Version 4.5.0 #
# last modified 1/27/2007 #
##############################################
temp.nav_main = HMENU
temp.nav_main {
entryLevel = 0
excludeUidList =
1 = TMENU
1 {
expAll = 1
wrap = <ul>|</ul>
NO = 1
NO.ATagTitle.field = abstract // description // subtitle
NO.wrapItemAndSub = <li>|</li>
NO.ATagBeforeWrap = 1
NO.stdWrap.htmlSpecialChars = 1
ACT = 1
ACT < .NO
ACT.wrapItemAndSub = <li id="current">|</li>
}
2 < .1
2.wrap = <ul class="navi2">|</ul>
2.NO = 1
2.NO.ATagTitle.field = abstract // description // subtitle
2.NO.wrapItemAndSub =<li>|</li>
2.NO.linkWrap = <span>|</span>
2.NO.ATagBeforeWrap = 1
2.ACT < .1.NO
2.ACT = 1
}
Mein CSS:
<style type="text/css">
/*****************************
*********begin*MAINMENU*******
*****************************/
#nav_main {
position: relative;
width: 100%;
text-align: center;
vertical-align: middle;
margin-bottom:10px;
}
.tx-macinasearchbox-pi1 {display:none;}
#nav_main {width:100%; height: 2.8em; overflow:hidden; background:#000 url(../../menu/button_leer.png) repeat-x center right; border-top:0px #000 solid; border-bottom:0px #000 solid;}
#nav_main ul {display:block; margin:0; padding:0; font-size:1.0em; line-height:2.8em; height:2.8em;}
#nav_main ul li {float:left; margin:0; padding:0; font-size:1.0em; line-height:2.8em; list-style-type:none; border-left:0px #000 solid; border-right:2px #000 solid; height:2.8em; width: 11em;}
#nav_main ul li#first {border-right:0px #000 solid; border-left:none; padding:0.5em 0em 0.5em 0em; height:2.8em;}
#nav_main ul li#last {border-left:0px #000 solid; border-right:none; padding:0.5em 0em 0.5em 0em; height:2.8em;}
#nav_main ul li a {display:block; width:auto; font-size:1em; text-align: center; font-weight:normal; background:transparent; text-decoration:none; color:#fff; margin:0; padding:0.2em 0.8em 0.2em 0.8em;}
#nav_main ul li a:hover { height: 2.6em; color:#fff; text-decoration:none; background: url(../../menu/button_leer_hover.png) repeat-x center right; display:block;}
#nav_main ul li#current { display: block; border-left:0px #000 solid; border-right:2px #000 solid; background:transparent url(../../menu/button_leer_hover.png) repeat-x center ; line-heigt:3em; width: 11em; text-align: center; padding:0px 0.8em 0em 0.8em;}
#nav_main ul li#current a, #nav_main ul li#current a:hover {display: block; color:#fff; background:transparent; text-decoration:none; line-heigt: 3em;}
/*2. Ebene*/
#nav_main ul li ul.navi2 {
width: 100%;
background-color: #ffffff;
}
#nav_main ul li ul.navi2 li{
width: 100%;
background-color: #ffffff;
}
#nav_main ul li ul.navi2 a{
font-style: Verdana;
font-size: 12px;
color: #ffffff;
}
#nav_main ul li ul.navi2 a:hover{
font-style: Verdana;
font-size: 12px;
color: #ffff00;
}
/*****************************
**********end*MAINMENU********
*****************************/
</style>
Die HTML: Ausgabe (alles da und richtig!)
<div id="nav_main">
<ul>
<li id="current">
<a onfocus="blurLink(this);" title="Button 1" href="button1.html">Button1</a>
<ul class="navi2">
<li>
<a onfocus="blurLink(this);" href="button1a.html">
<span>button1a</span>
</a>
</li>
<li>
<a onfocus="blurLink(this);" href="button1b.html">
button1b
</a>
</li>
...
</li>
</ul>
</div>
</div>
Ich sehe einfach selbst keinen Weg mehr und weiß nicht mehr weiter.
Lili