lordpressler
Grünschnabel
Hallo Leute,
kann mir jemand n Tipp geben warum das nicht funktioniert:
und die dazugehörige CSS:
Danke im Voraus...
Gruß,
Jens
kann mir jemand n Tipp geben warum das nicht funktioniert:
Code:
<html>
<head>
<title>Test</title>
<meta name="author" content="D048626">
<link rel="stylesheet" type="text/css" href="testcss.css">
</head>
<body text="#000000" bgcolor="#FFFFFF" link="#FF0000" alink="#FF0000" vlink="#FF0000">
<table>
<tr>
<td width="170" height="50" style="background-image:url(images/vcdleft1.gif)">
<div id="Menu"><ul id="Navigation">
<li><a href="#Beispiel">Seite 1</a>
<ul>
<li><a href="#Beispiel">Seite 1.1</a></li>
<li><a href="#Beispiel">Seite 1.1</a></li>
</ul>
</li>
</td>
<td width="170" height="50" style="background-image:url(images/vcdleft2.gif>
<li><a href="#Beispiel">Seite 2</a>
<ul>
<li><a href="#Beispiel">Seite 2a</a></li>
<li><a href="#Beispiel">Seite 2b</a></li>
</ul>
</li>
</div>
</td>
</tr>
</table>
</body>
</html>
und die dazugehörige CSS:
Code:
ul#Navigation li ul {
margin: 0; padding: 0;
position: absolute;
top: 1.6em; left: -0.4em;
display: none;
}
ul#Navigation li:hover ul {
display: block;
}
ul#Navigation {
margin: 0; padding: 0;
text-align: center;
}
ul#Navigation a, ul#Navigation span {
display: block;
width: 6.4em; /* Breite den in li enthaltenen Elementen zuweisen */
padding: 0.2em 1em;
text-decoration: none; font-weight: bold;
border: 1px solid black;
border-left-color: white; border-top-color: white;
color: maroon; background-color: #ccc;
Danke im Voraus...
Gruß,
Jens