Uwe Simon: Spaltenbreiten

Beitrag lesen

Hallo,
meine 2 Äusseren Spalten die ich auf 180 Pixel festgesetzt habe,
werden immer durch die mittlere die ich auf 100% Breite festgelegt habe an den Rand gedrückt.
Warum ist das so .Kann mir bitte einer eine Antwort geben

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Unbenanntes Dokument</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
body {
 margin: 0px;
}
table {
 width: 100%;
 padding-bottom: 8px;
 border-bottom-width: 10px;
 border-bottom-style: solid;
 border-bottom-color: #999999;
 height: 100%;
}
dt {
 vertical-align: top;
}
td.erste {
 background-color: #F7F7DE;
 width: 180px;
}
td.zweite {
 background-color: #fff7ef;
 width: 100%;
}
td.dritte {
 background-color: beige;
 width: 180px;
}
td.frei {
 width: 18px;
}
a {
 font-family: Arial, Helvetica, sans-serif;
 font-size: 13px;
 text-decoration: none;
 border-bottom-width: 1px;
 border-bottom-style: solid;
 border-bottom-color: #666666;
 display: block;
 padding-top: 6px;
 padding-right: 10px;
 padding-bottom: 10px;
 padding-left: 6px;
}
-->
</style>
</head>

<body>
<table  border="0">
  <tr>
    <td class="erste"><a href="#">Pfefferminzbonbons</a> <a href="#">Veilchenpastillen</a> <a href="#">Sahnekaramell</a> <a href="#">Gumibärchen</a> <a href="#">Schokolade</a></td>
    <td class="frei"> </td>
    <td class="zweite"> </td>
    <td class="frei"> </td>
    <td class="dritte"><a href="#">Links</a></td>
  </tr>
</table>
</body>
</html>
 Gruss Uwe