Tina: scrollbares div + 100% tabellenhöhe

Beitrag lesen

Die hier funktioniert einwandfrei in IE6 SP1, jedoch nur ohne DOCTYPE -Angabe....ansonsten geht es auch dort nicht....

<html>
<head>
<title> Titel </title>

<style type="text/css">
html, body { margin:0; padding:0; height:100%; overflow:hidden; }
</style>
</head>

<body>
<table style="height:100%; width:100%" border="0" >
 <tr align="left" valign="top">
  <td style="height:100%">
    <div style="overflow:auto; height:100%; font-size:10pt; padding-left:5px; padding-right:5px; background-color:lime">
 <script type="text/javascript">for(i=0;i<2000;i++) document.write("Many text in here... ");</script>
   </div>
  </td>
 </tr>

<tr align="left" valign="middle">
  <td>
    Statuszeile
  </td>
 </tr>

</table>

</body>
</html>

In Mozilla 1.5 geht es nicht, da muss ich bei <td style="height:100%"> statt 100% eine px-Angabe machen, dann auch dort wieder Scrollbalken.....

Also liegt der Fehler eindeutig nur an der %-Angabe, also wie löse ich das für Netscape/Mozilla - Browser.....

Grüsse,
Tina