IE geht Menü nicht, aber FF schon. Wo liegt das Prob?

Status
Nicht offen für weitere Antworten.
Zum Glück hab ich da wieder ein funktionsfähiges Backup für dich :p

Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
      "http://www.w3.org/TR/xhtml2/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Startseite || www.bnv-bierstetten.de</title>

<style type="text/css">

.end {
 font-family: Verdana;
 font-size:8pt;
 font-weight:bold;
 margin-left:15px;
 margin-top:10px;
 text-transform:none;
 color:#000000;
}

html,body {
margin:0;
padding:0;
}

tr.decoration img {display: block;}


a#b1{

display:block;
background-image:url(design/b1.jpg);
width:85px; height:23px;
text-align:left;
}

a#b1:hover {background-image:url(design/b1o.jpg); }

a#b2{

display:block;
background-image:url(design/b2.jpg);
width:54px; height:23px;
text-align:left;
}

a#b2:hover {background-image:url(design/b2o.jpg); }

a#b3{

display:block;
background-image:url(design/b3.jpg);
width:116px; height:23px;
text-align:left;
}

a#b3:hover {background-image:url(design/b3o.jpg); }

a#b4{

display:block;
background-image:url(design/b4.jpg);
width:51px; height:23px;
text-align:left;
}

a#b4:hover {background-image:url(design/b4o.jpg); }

a#b5{

display:block;
background-image:url(design/b5.jpg);
width:78px; height:23px;
text-align:left;
}

a#b5:hover {background-image:url(design/b5o.jpg); }

a#b6{

display:block;
background-image:url(design/b6.jpg);
width:48px; height:23px;
text-align:left;
}

a#b6:hover {background-image:url(design/b6o.jpg); }

a#b7{

display:block;
background-image:url(design/b7.jpg);
width:81px; height:23px;
text-align:left;
}

a#b7:hover {background-image:url(design/b7o.jpg); }

a#b8{

display:block;
background-image:url(design/header6.jpg);
width:287px; height:23px;
text-align:left;
}

/* ================================================================
This copyright notice must be untouched at all times.

The original version of this stylesheet and the associated (x)html
is available at http://www.cssplay.co.uk/menus/final_drop3.html
Copyright (c) 2005-2007 Stu Nicholls. All rights reserved.
This stylesheet and the associated (x)html may be modified in any
way to fit your requirements.
=================================================================== */

.menu {font-size:0.85em;padding-bottom:0px; width:800px; height:23px;}


.menu ul {padding:0;margin:0;list-style-type:none; height:23px; background:#ffffff;}


.menu ul ul {width:40px;}


.menu ul li {float:left;height:23px;line-height:5em;}


.menu ul ul li {display:block;width:200px;height:auto;position:static;line-height:0em;}


.menu a, .menu a:visited {display:none;float:left;height:100%;font-size:10pt;font-face:Verdana;text-decoration:none;color:#ffffff;background:#aaa;padding:0 0em 0 0em;}

.menu ul ul a, .menu ul ul a:visited {display:block;background:#4D4D4D; color:#ffffff;width:8.1em;height:auto;line-height:0em; padding:0.6em 5px;}
.menu ul table ul a, .menu ul table ul a:visited  {width:5em; w\idth:12em;}

.menu table {position:fixed; left:0; top:0; font-size:1em; z-index:20;}
.menu ul ul table {lef\t:-1px;}
.menu ul ul table ul.left {margin-lef\t:2px;}

.menu li:hover {position:relative;}
* html .menu a:hover {position:relative;}

.menu ul ul ul a, .menu ul ul ul a:visited {background:#ccc;}

.menu ul ul ul ul a, .menu ul ul ul ul a:visited {background:#ddd;}

.menu ul :hover a.sub1 {background:#ccc;}

.menu ul ul :hover a.sub2 {background:#ddd;}

.menu a:hover {color:#000;background:#bbb;}
.menu :hover > a {color:#000;background:#bbb;}

.menu ul ul a:hover{color:#000;background:#ccc;}
.menu ul ul :hover > a {color:#000;background:#ccc;}

.menu ul ul {visibility:hidden;position:absolute;height:15px;top:1.7em;left:0;width:10em;}

.menu ul li:hover ul, .menu ul a:hover ul {visibility:visible; height:auto; padding-bottom:1em; background:transparent url(images/trans.gif);}

</style>
<script type="text/javascript">


 function anzeigen(das){
 if(document.getElementById(das).style.display=='none')
 document.getElementById(das).style.display='block';
 else document.getElementById(das).style.display='none';}


</script>

<!--[if IE 7]>
<style type="text/css">
.menu ul ul ul {margin-left:-1px;}
.menu ul ul ul.left {margin-left:1px;}
</style>
<![endif]-->

</head>
<body>

<table width="800" height="44" background="design/header1.jpg" border="0" cellspacing="0" cellpadding="0"><tr><td></td></tr></table>
<table width="800" height="34" background="design/header2.jpg" border="0" cellspacing="0" cellpadding="0"><tr><td></td></tr></table>
<table width="800" height="42" background="design/header3.jpg" border="0" cellspacing="0" cellpadding="0"><tr><td></td></tr></table>
<table width="800" height="41" background="design/header4.jpg" border="0" cellspacing="0" cellpadding="0"><tr><td></td></tr></table>
<table width="800" height="36" background="design/header5.jpg" border="0" cellspacing="0" cellpadding="0"><tr><td></td></tr></table>

<div class="menu">
<ul>
<li><a href="gfj.htm" id="b1"></a></li>


<li><a href="gfj.htm" id="b2"><!--[if IE 7]><!--></a><!--<![endif]-->
<!--[if lte IE 6]><table><tr><td><![endif]-->
        <ul>

<li><a href="spies.html" title="a coded list of spies">Dorffasnet 2007</a></li>
<li><a href="vertical.html" title="a horizontal vertical menu">Test2</a></li>
<li><a href="expand.html" title="an enlarging unordered list">Test3</a></li>
<li><a href="expand.html" title="an enlarging unordered list">Test3</a></li>
<li><a href="expand.html" title="an enlarging unordered list">Test3</a></li>
<li><a href="expand.html" title="an enlarging unordered list">Test3</a></li>
<li><a href="expand.html" title="an enlarging unordered list">Test3</a></li>
<li><a href="expand.html" title="an enlarging unordered list">Test3</a></li>
<li><a href="expand.html" title="an enlarging unordered list">Test3</a></li>

        </ul>
<!--[if lte IE 6]></td></tr></table></a><![endif]-->
</li>


<li><a href="gfj.htm" id="b3"><!--[if IE 7]><!--></a><!--<![endif]-->
<!--[if lte IE 6]><table><tr><td><![endif]-->
        <ul>

<li><a href="spies.html" title="a coded list of spies">Test1</a></li>
<li><a href="vertical.html" title="a horizontal vertical menu">Test2</a></li>
<li><a href="expand.html" title="an enlarging unordered list">Test3</a></li>

        </ul>
<!--[if lte IE 6]></td></tr></table></a><![endif]-->
</li>


<li><a href="gfj.htm" id="b4"><!--[if IE 7]><!--></a><!--<![endif]-->
<!--[if lte IE 6]><table><tr><td><![endif]-->
        <ul>

<li><a href="spies.html" title="a coded list of spies">Test1</a></li>
<li><a href="vertical.html" title="a horizontal vertical menu">Test2</a></li>
<li><a href="expand.html" title="an enlarging unordered list">Test3</a></li>

        </ul>
<!--[if lte IE 6]></td></tr></table></a><![endif]-->
</li>


<li><a href="gfj.htm" id="b5"><!--[if IE 7]><!--></a><!--<![endif]-->
<!--[if lte IE 6]><table><tr><td><![endif]-->
        <ul>
<li><a href="spies.html" title="a coded list of spies">Test1</a></li>
<li><a href="expand.html" title="an enlarging unordered list">Test3</a></li>

        </ul>
<!--[if lte IE 6]></td></tr></table></a><![endif]-->
</li>

<li><a href="links.php" id="b6"></a>
</li>
<li><a href="guestbook.php" id="b7"></a></li>


<li><a id="b8"></a>
</li>
</ul>
</div>

<table border="0" width="800" cellspacing="0" cellpadding="0" background="design/mainhaupt.jpg" align="left" height="206" valign="top">
<tr><td background="design/main1.jpg" width="800" height="11"></td></tr>
<tr background="design/mainhaupt.jpg" width="800"><td height="191" valign="top">
        <div align="right">
                <table cellpadding="0" cellspacing="0" width="147" background="design/rechts1.jpg" height="22">
                        <!-- MSTableType="layout" -->
                        <tr>
                                <td height="22"></td>
                        </tr>
                </table>
        </div>
        </td>
        </tr>
</table>

</body>
</html>
Der Fehler ist im Stylesheet und HTML-Markup zu suchen, denn beides für sich alleine läuft nicht im "Backup".
 
Den Fehler im CSS-Code hab ich schon mal ausfindig gemacht:

Code:
.menu table {position:fixed; left:0; top:0; font-size:1em; z-index:-2;} /* stand vorher auf 20 */
Wenn ich das folgende Markup deiner "aktuellen" Version in obiges "Backup" einfüge, funktioniert's ebenfalls nicht im IE:

Code:
<div class="menu">
<ul>
<li><a href="index.php" id="b1"></a></li>


<li><a id="b2"><!--[if IE 7]><!--></a><!--<![endif]-->
<!--[if lte IE 6]><table><tr><td><![endif]-->
        <ul>

<li><a href="verein.php">Über den Verein</a></li>
<li><a href="historie.php">Die Vereinshistorie</a></li>
<li><a href="bierstetten.php">Über Bierstetten</a></li>
<li><a href="gruendungsversammlung.php">Gründungsversammlung</a></li>

        </ul>
<!--[if lte IE 6]></td></tr></table></a><![endif]-->
</li>


<li><a id="b3"><!--[if IE 7]><!--></a><!--<![endif]-->
<!--[if lte IE 6]><table><tr><td><![endif]-->
        <ul>

<li><a href="spies.html">Test1</a></li>
<li><a href="vertical.html">Test2</a></li>
<li><a href="expand.html">Test3</a></li>

        </ul>
<!--[if lte IE 6]></td></tr></table></a><![endif]-->
</li>


<li><a id="b4"><!--[if IE 7]><!--></a><!--<![endif]-->
<!--[if lte IE 6]><table><tr><td><![endif]-->
        <ul>


<li><a href='galerie.php?action=show_galerie&name_id=34'>Zunftmeisterempfang 2004</a></li><li><a href='galerie.php?action=show_galerie&name_id=35'>Steinenbach 2004</a></li><li><a href='galerie.php?action=show_galerie&name_id=36'>Schülerbefreiung 2004</a></li><li><a href='galerie.php?action=show_galerie&name_id=37'>Dorffasnet (Umzug) 2005</a></li><li><a href='galerie.php?action=show_galerie&name_id=42'>Narrenmesse 2007</a></li><li><a href='galerie.php?action=show_galerie&name_id=53'>Funken 2007</a></li><li><a href='galerie.php?action=show_galerie&name_id=57'>Schülerbefreiung 2007</a></li><li><a href='galerie.php?action=show_galerie&name_id=59'>Dorffasnet 2007</a></li><li><a href='galerie.php?action=show_galerie&name_id=60'>Hohentengen 2007</a></li><li><a href='galerie.php?action=show_galerie&name_id=61'>Oberstetten 2007</a></li><li><a href='galerie.php?action=show_galerie&name_id=62'>Ebersbach 2007</a></li><li><a href='galerie.php?action=show_galerie&name_id=63'>Dorffasnet 2007 Weitere</a></li>
        </ul>
<!--[if lte IE 6]></td></tr></table></a><![endif]-->
</li>


<li><a id="b5"><!--[if IE 7]><!--></a><!--<![endif]-->
<!--[if lte IE 6]><table><tr><td><![endif]-->
        <ul>
<li><a href="spies.html">Test1</a></li>
<li><a href="expand.html">Test3</a></li>

        </ul>
<!--[if lte IE 6]></td></tr></table></a><![endif]-->
</li>

<li><a href="links.php" id="b6"></a>
</li>
<li><a href="book.php" id="b7"></a></li>


<li><a id="b8"></a>
</li>
</ul>
</div>
 
Zwei Augen zum selber schauen und vergleichen hast du schon, oder?

In den entsprechenden Links der ersten Menüebene fehlt das href-Attribut.
 
Status
Nicht offen für weitere Antworten.
Zurück