PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Overflow nicht richtig in IE


Stefan25
24.06.2005, 15:45:31
hallo jungs und mädels,
es geht um folgendes: ich habe eine Tabelle, die aus 2 zellen besteht, die auch je eine tabelle enthalten(tabellen A und B). die tabelle B ist in ein div gepackt und mit overflow:scroll versehen. jetzt die quizfrage wieso bei width:100% wird in IE die tabelle so vergrössert, dass sie nicht auf eine seite passt, und bei firefox und opera wird alles richtig angezeigt? wie kann man das heilen?

P.S. es ist viel code, aber das meiste davon sind nur platzhalter


<table border="1" frame="box" width="100%" cellspacing="0" cellpadding="1" >
<colgroup>
<col width="10%">
<col width="90%">
</colgroup>

<tr>
<td style="vertical-align:top">
<table style="width:100%;" border="1" frame="box" cellspacing="0" rules="rows">
<tr><td><font size="-2"> </font></td></tr>
<tr><td bgcolor="#C0C0C0" style="border:thin solid #C0C0C0;white-space:nowrap"><font size="-1">
xxxxxxxxxxxx
</font></td></tr>
</table>
</td>
<td >


<div style="overflow:scroll;width=100%">

<table rules="rows" style="width:100%;" frame="box" cellspacing="0" border="1">
<tr>
<td align="center"><font size="-2">20</font></td>
<td align="center"><font size="-2">21</font></td>
<td align="center"><font size="-2">22</font></td>
<td align="center"><font size="-2">23</font></td>
<td align="center"><font size="-2">24</font></td>
<td align="center"><font size="-2">25</font></td>
<td align="center"><font size="-2">26</font></td>
<td align="center"><font size="-2">27</font></td>
<td align="center"><font size="-2">28</font></td>
<td align="center"><font size="-2">29</font></td>
<td align="center"><font size="-2">30</font></td>
<td align="center"><font size="-2">1</font></td>
<td align="center"><font size="-2">2</font></td>
<td align="center"><font size="-2">3</font></td>
<td align="center"><font size="-2">4</font></td>
<td align="center"><font size="-2">5</font></td>
<td align="center"><font size="-2">6</font></td>
<td align="center"><font size="-2">7</font></td>
<td align="center"><font size="-2">8</font></td>
<td align="center"><font size="-2">9</font></td>
<td align="center"><font size="-2">10</font></td>
<td align="center"><font size="-2">11</font></td>
<td align="center"><font size="-2">12</font></td>
<td align="center"><font size="-2">13</font></td>
<td align="center"><font size="-2">14</font></td>
<td align="center"><font size="-2">15</font></td>
<td align="center"><font size="-2">16</font></td>
<td align="center"><font size="-2">17</font></td>
<td align="center"><font size="-2">18</font></td>
<td align="center"><font size="-2">19</font></td>
<td align="center"><font size="-2">20</font></td>
<td align="center"><font size="-2">21</font></td>
<td align="center"><font size="-2">22</font></td>
<td align="center"><font size="-2">23</font></td>
<td align="center"><font size="-2">24</font></td>
<td align="center"><font size="-2">25</font></td>
<td align="center"><font size="-2">26</font></td>
<td align="center"><font size="-2">27</font></td>
<td align="center"><font size="-2">28</font></td>
<td align="center"><font size="-2">29</font></td>
<td align="center"><font size="-2">30</font></td>
<td align="center"><font size="-2">31</font></td>
<td align="center"><font size="-2">1</font></td>
<td align="center"><font size="-2">2</font></td>
<td align="center"><font size="-2">3</font></td>
<td align="center"><font size="-2">4</font></td>
<td align="center"><font size="-2">5</font></td>
<td align="center"><font size="-2">6</font></td>
<td align="center"><font size="-2">7</font></td>
<td align="center"><font size="-2">8</font></td>
<td align="center"><font size="-2">9</font></td>
<td align="center"><font size="-2">10</font></td>
<td align="center"><font size="-2">11</font></td>
<td align="center"><font size="-2">12</font></td>
<td align="center"><font size="-2">13</font></td>
</tr>

<tr>
<td bgcolor="#E2E2E2" width="90px"><font size="2" color="#E2E2E2">fds </font></td>
<td bgcolor="#E2E2E2" width="90px"><font size="2" color="#E2E2E2">fds </font></td>
<td bgcolor="#E2E2E2" width="90px"><font size="2" color="#E2E2E2">fds </font></td>
<td bgcolor="#E2E2E2" width="90px"><font size="2" color="#E2E2E2">fds </font></td>
<td style="border:thin solid black" bgcolor="#E2E2E2" width="90px"><font size="2" color="#E2E2E2">fds </font></td>
<td bgcolor="#C7CEE2" width="90px"><font size="2" color="#C7CEE2">fds </font></td>
<td bgcolor="#C7CEE2" width="90px"><font size="2" color="#C7CEE2">fds </font></td>
<td bgcolor="#E2E2E2" width="90px"><font size="2" color="#E2E2E2">fds </font></td>
<td bgcolor="#E2E2E2" width="90px"><font size="2" color="#E2E2E2">fds </font></td>
<td bgcolor="#E2E2E2" width="90px"><font size="2" color="#E2E2E2">fds </font></td>
<td bgcolor="#0000FF" width="90px"><font size="2" color="#0000FF">fds </font></td>
<td bgcolor="#0000FF" width="90px"><font size="2" color="#0000FF">fds </font></td>
<td bgcolor="#C7CEE2" width="90px"><font size="2" color="#C7CEE2">fds </font></td>
<td bgcolor="#C7CEE2" width="90px"><font size="2" color="#C7CEE2">fds </font></td>
<td bgcolor="#0000FF" width="90px"><font size="2" color="#0000FF">fds </font></td>
<td bgcolor="#0000FF" width="90px"><font size="2" color="#0000FF">fds </font></td>
<td bgcolor="#E2E2E2" width="90px"><font size="2" color="#E2E2E2">fds </font></td>
<td bgcolor="#E2E2E2" width="90px"><font size="2" color="#E2E2E2">fds </font></td>
<td bgcolor="#0000FF" width="90px"><font size="2" color="#0000FF">fds </font></td>
<td bgcolor="#C7CEE2" width="90px"><font size="2" color="#C7CEE2">fds </font></td>
<td bgcolor="#C7CEE2" width="90px"><font size="2" color="#C7CEE2">fds </font></td>
<td bgcolor="#0000FF" width="90px"><font size="2" color="#0000FF">fds </font></td>
<td bgcolor="#0000FF" width="90px"><font size="2" color="#0000FF">fds </font></td>
<td bgcolor="#E2E2E2" width="90px"><font size="2" color="#E2E2E2">fds </font></td>
<td bgcolor="#E2E2E2" width="90px"><font size="2" color="#E2E2E2">fds </font></td>
<td bgcolor="#0000FF" width="90px"><font size="2" color="#0000FF">fds </font></td>
<td bgcolor="#C7CEE2" width="90px"><font size="2" color="#C7CEE2">fds </font></td>
<td bgcolor="#C7CEE2" width="90px"><font size="2" color="#C7CEE2">fds </font></td>
<td bgcolor="#0000FF" width="90px"><font size="2" color="#0000FF">fds </font></td>
<td bgcolor="#0000FF" width="90px"><font size="2" color="#0000FF">fds </font></td>
<td bgcolor="#E2E2E2" width="90px"><font size="2" color="#E2E2E2">fds </font></td>
<td bgcolor="#E2E2E2" width="90px"><font size="2" color="#E2E2E2">fds </font></td>
<td bgcolor="#E2E2E2" width="90px"><font size="2" color="#E2E2E2">fds </font></td>
<td bgcolor="#C7CEE2" width="90px"><font size="2" color="#C7CEE2">fds </font></td>
<td bgcolor="#C7CEE2" width="90px"><font size="2" color="#C7CEE2">fds </font></td>
<td bgcolor="#E2E2E2" width="90px"><font size="2" color="#E2E2E2">fds </font></td>
<td bgcolor="#E2E2E2" width="90px"><font size="2" color="#E2E2E2">fds </font></td>
<td bgcolor="#E2E2E2" width="90px"><font size="2" color="#E2E2E2">fds </font></td>
<td bgcolor="#E2E2E2" width="90px"><font size="2" color="#E2E2E2">fds </font></td>
<td bgcolor="#E2E2E2" width="90px"><font size="2" color="#E2E2E2">fds </font></td>
<td bgcolor="#C7CEE2" width="90px"><font size="2" color="#C7CEE2">fds </font></td>
<td bgcolor="#C7CEE2" width="90px"><font size="2" color="#C7CEE2">fds </font></td>
<td bgcolor="#E2E2E2" width="90px"><font size="2" color="#E2E2E2">fds </font></td>
<td bgcolor="#E2E2E2" width="90px"><font size="2" color="#E2E2E2">fds </font></td>
<td bgcolor="#E2E2E2" width="90px"><font size="2" color="#E2E2E2">fds </font></td>
<td bgcolor="#E2E2E2" width="90px"><font size="2" color="#E2E2E2">fds </font></td>
<td bgcolor="#E2E2E2" width="90px"><font size="2" color="#E2E2E2">fds </font></td>
<td bgcolor="#C7CEE2" width="90px"><font size="2" color="#C7CEE2">fds </font></td>
<td bgcolor="#C7CEE2" width="90px"><font size="2" color="#C7CEE2">fds </font></td>
<td bgcolor="#E2E2E2" width="90px"><font size="2" color="#E2E2E2">fds </font></td>
<td bgcolor="#E2E2E2" width="90px"><font size="2" color="#E2E2E2">fds </font></td>
<td bgcolor="#E2E2E2" width="90px"><font size="2" color="#E2E2E2">fds </font></td>
<td bgcolor="#E2E2E2" width="90px"><font size="2" color="#E2E2E2">fds </font></td>
<td bgcolor="#E2E2E2" width="90px"><font size="2" color="#E2E2E2">fds </font></td>
<td bgcolor="#C7CEE2" width="90px"><font size="2" color="#C7CEE2">fds </font></td>
</tr>


</table>

</div>

</td>

</tr>

</table>