Ich habe ein Problem mit dem Internet-Explorer, das Problem besteht also beim Firefox nicht! Die betroffene Seite: www.volke.biz, es handelt sich um das horizontale Menü oben und dem Effekt bei "Tipps". Die Seite enthält eine Browserweiche, die CSS für IE und FF getrennt verwaltet.
Der Quellcode des Menüs:
- Code: Alles auswählen
<div>
<ul>
<li> <div><a>Startseite</a></div></li>
<li> <div><a>Forum</a></div></li>
<li> <div><a>Fotos</a></div></li>
<li> <div><a>Reiseberichte</a> </div></li>
<li> <div><a>Alltagsgeschichten</a></div></li>
<li> <div><a>Tipps</a></div>
<ul>
<li><a>Netzfundstück</a></li>
<li><a>Tipps für den Alltag</a></li>
<li><a>Filmtipps</a></li>
<li><a>Wissenswertes</a></li>
</ul>
</li>
<li> <div><a>Kontakt</a></div></li>
</ul>
</div>
Der Auszug vom CSS des IE:
- Code: Alles auswählen
#nav {
list-style: none;
position: absolute;
float: center;
top: 126px;
padding-top: 3px;
left: 230px;
}
#nav ul li {float: left; width: 100%;}
#nav li {
list-style: none;
float: left;
margin-left: 5px;
}
#nav .current_page_item a, #nav .current_page_item a:visited{
color: #333333;
background: #CD440A;
text-decoration: none;
}
#nav .page_item a{
color: #333333;
background: #CD440A;
text-decoration: none;
padding: 5px 10px;
font: bold 10px/100% Arial, Helvetica, sans-serif;
border-top: 1px solid #333;
border-left: 1px solid #333;
border-right: 1px solid #333;
display: block;
}
#nav .page_item a:hover {
color: #fff;
background: #333333;
}
#nav ul ul a {
color: #333333;
background: #CD440A;
text-decoration: none;
padding: 5px 10px;
font: bold 10px/100% Arial, Helvetica, sans-serif;
border-left: 1px solid #333;
border-right: 1px solid #333;
border-bottom: 1px solid #333;
border-top: 0px;
display: block;
width: 10em;
}
#nav ul ul a:hover {
color: #fff;
background: #333333;
}
#nav li {position: relative;}
div#nav ul ul,
div#nav ul li:hover ul ul,
div#nav ul ul li:hover ul ul
{display: none;}
div#nav ul li:hover ul,
div#nav ul ul li:hover ul,
div#nav ul ul ul li:hover ul
{display: block;}
Ich bin hier nach einem Tutorial vorgegangen (unabhängig von Wordpress) und muss gestehen, gerade bei der Vererbung nicht alle Punkte verstanden zu haben.
Vielen Dank schon einmal für's Durchlesen
Tschüss
Konst
