Gast: Menu klappt nicht auf wie gewünscht

Beitrag lesen

Auch: Om nah hoo pez nyeetz, Matthias, (hoffentlich bedeutet dies nichts Schlechtes)

Inzwischen ist dir sicher aufgefallen, dass das Beispiel fehlt.

Leider nein,
aber hier:

<html>  
<head>  
<meta charset="UTF-8">  
<title>Test</title>  
<style>  
div#xZeile {  
    display: block;  
	width: 98%;  
	margin-left: auto; margin-right: auto;  
	text-align: center;  
}  
div#xZeile h2 {display: inline;}  
div#xZeile ul {  
    position: absolute;  
    display: none;  
}  
div#xZeile:hover ul, div#xZeile:focus ul  {  
    display: inline-block;  
    padding-left: 0;  
	margin-left:0;  
}  
div#xZeile form {  
    display:inline-block;  
	margin-left: 20px;  
}	  
</style>  
</head>  
<body>  
<div id="xZeile">  
<h2>Menu</h2>  
<ul>  
  <li><a href="/s1.html">Seite 001</a></li>  
  <li><a href="/s2.html">Seite 002</a></li>  
  <li><a href="/s3.html">Seite 003</a></li>  
  <li><a href="/s4.html">Seite 004</a></li>  
  <li><a href="/s5.html">Seite 005</a></li>  
  <li><a href="/s6.html">Seite 006</a></li>  
</ul>  
<form action="/"  method="post">  
    <button type="submit">Kontakt</button>  
</form>  
</div>  
</body>  
</html>