23.10.2005, 11:16
Hallo also irgendwie habe ich jetzt ein Schwimmfest:
Wo kommt den das "div" hinein ?Habe auch in den anderen Beispielen nichts gefunden.Es wird eigentlich immer nur von "margin o geredet,
wobei dies auch nicht weiter hilft.
Habe mal zur Veranschaulichung den Quelltekt reinkopiert:
Mfg und Danke
Basilisk
Wo kommt den das "div" hinein ?Habe auch in den anderen Beispielen nichts gefunden.Es wird eigentlich immer nur von "margin o geredet,
wobei dies auch nicht weiter hilft.
Habe mal zur Veranschaulichung den Quelltekt reinkopiert:
Zitat:<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Test</title>
</head>
<head>
<title>CSS Menü</title>
<style type="text/css">
<!--
#links {
width: 100px;
border-collapse:collapse;
}
#links a {
display: block;
background: #E0E0E0;
color: #000080;
font: bold 11px Verdana,Arial;
margin: 0px auto;
padding: 4px 2px;
text-decoration: none;
width: 120px;
}
#links a:hover {
background: url('images/fbg.gif');
color: blue
}
.td {
border:1px solid #800000;
background-color:#E0E0E0;
width:120px;
}
#th {
margin: 2px auto;
padding: 4px 4px;
font: bold 12px Verdana,Arial;
border:1px solid maroon;
background: steelblue;
width: 120px;
color: #FFFFFF;
}
-->
</style>
<base target="Hauptframe">
</head>
<body bgcolor="#FFFFF" topmargin="0" leftmargin="0" bgproperties="fixed" background="hint_blau027.gif">
<body>
<table id="links" width="133" cellpadding="0" cellspacing="0" border="0">
<tr>
<td id="th" width="153">Top News</td>
<tr>
<td class="td" width="153"><a href="index.html">Nur Test</a</td>
</tr>
<tr>
<td class="td" width="153"><a href="index.html>Weitere LInks</a></td>
</tr>
<tr>
<td class="td" width="153">Weitere LInks</td>
</tr>
<tr>
<td class="td" width="153"><a href="index.html">Weitere Links</a</td>
</tr>
<tr>
<td class="td" width="153">Weitere Links</td>
</tr>
<tr>
<td class="td" width="153">Weitere Links</td>
</tr>
</table>
</body>
</body>
</html>
Mfg und Danke
Basilisk