Peter: style="height:100%;" bei Tabellen

Beitrag lesen

Folgender Code funktioniert leider auch net (unter IE6 und mozilla sind der ober und untere Rand zu hoch) unter Opera 7 funktionierts

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 //EN//""http://www.W3.org/DTD/HTML4-strict.dtd">
<html>
<head>
  <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  <title>Tabellen Test</title>
  <style type="text/css">
    body { margin:0; padding:0; width:100%; height:100%; }
    html { margin:0; padding:0; width:100%; height:100%; }
  </style>
</head>
<body>
<table style="width:100%; height:100%" cellspacing="0" cellpadding="0" summary="test">
  <tr>
    <td style="background-color:black; height:5px;"><img src="11.gif" width="1" height="1" alt="transparenter Pixel (1x1)"></td>
  </tr>
  <tr>
    <td style="background-color:gray; vertical-align:middle; text-align:center;"> MITTE </td>
  </tr>
  <tr>
    <td style="background-color:black; height:5px;"><img src="11.gif" width="1" height="1" alt="transparenter Pixel (1x1)"></td>
  </tr>
</table>
</body>
</html>