Patrick: Div scrollbar machen

Hi,

ich habe 4 Tabellenfelder in meiner Seite. Hier erst mal der Code:

<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" bgcolor="#EAF0CF">
<table width="100%" border="0" cellspacing="0" cellpadding="0" height="100%">
  <tr>
    <td colspan="2" style="height:25px;">
  Head
 </td>
  </tr>
  <tr>
    <td style="width:150px; border-right:1px solid #B3C28E;padding-top:3px;padding-right:3px;padding-bottom:3px;"><iframe name="leftframe" id="leftframe" src="./outlookbar/CategoryBar_Frame.htm" width="100%" height="100%" marginheight="0" marginwidth="0" frameborder="0"></iframe></td>
    <td style="padding-top:3px;padding-bottom:3px;" bgcolor="#FFFFFF">
    <table border="0" width="100%">
    <tr>
    <td>
      <DIV STYLE="overflow:scroll;width:100%;height:80%;margin-top:0pt;font-family:verdana;font-size:10pt;" id="main">
   ?????
   </div>
    </td>
    </tr>
    </table>

</td>
  </tr>
  <tr>
    <td colspan="2" style="height:25px;border-top:1px solid #B3C28E;">4</td>
  </tr>
</table>
</body>

dort wo die Fragezeichen stehen möchte ich gerne etwas per PHP einbinden. Nur wenn der Inhalt über die Grösse des Datenfeldes der Tabelle hinausgeht, wird die ganze Seite scrollbar und verlängert sich entsprechend nach unten. Ich möchte aber nur dieses DIV scrollbar machen. Der Rest der Seite soll so passend bleiben.
Auch möchte ich keine IFrames verwenden.

Hat jemand eine Idee?

Danke
Patrick

  1. Hat jemand eine Idee?

    overflow:auto; und einen festen height Wert helfen dir nicht?

    Gruß, Matty

    1. Hi Matty,

      ich habe in der Zelle schon alles versucht.
      height:100%; (wegen verschiedener Auflösungen)
      overflow: auto; habe ich auch schon versucht.

      Danke
      Patrick