Thomas Meinike: Internet Explorer 6.0 / Prozentangabe für Tabellenhöhe

Beitrag lesen

Hallo Christian,


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
     "http://www.w3.org/TR/html4/strict.dtd">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>100% height</title>
<style type="text/css">
html { border: solid 1px #ff0000; }
body { height: 100%; margin:0; padding:0; }
table { height:100%; width:100%;}
td { text-align:center; }
</style>
<table>
  <tr>
   <td>Wieso stehe ich im Mozilla oben am Rand?</td>
  </tr>
</table>

Setze noch html{height: 100%;}

MfG, Thomas