Help,
I have a page like :
100% height and width 100%
----outer table----------
- -
-------------------------
-<td>
- <div height 100% and scroll within td>
-</td>
-
-------------------------
The problem I want to div to scroll within the div and automatically resize with the browser. This works fine in IE but not in netscape.
Here is the code: any help would be great
<table height="100%" width="100%" border="1">
<tbody>
<tr height="200">
<td> and stuff</td>
</tr>
<tr>
<td>
<div style="width:100px; height:100%; background-color:#cccccc; overflow:scroll;">
1<br />2<br />1<br />2<br />1<br />2<br />1<br />2<br />1<br />2<br />1<br />2<br />1<br />2<br />1<br />2<br />1<br />2<br />
1<br />2<br />1<br />2<br />1<br />2<br />1<br />2<br />1<br />2<br />1<br />2<br />1<br />2<br />1<br />2<br />1<br />2<br />
1<br />2<br />1<br />2<br />1<br />2<br />1<br />2<br />1<br />2<br />1<br />2<br />1<br />2<br />1<br />2<br />1<br />2<br />
</div>
</td>
</tr>
</tbody>
</table>
Thanks
I have a page like :
100% height and width 100%
----outer table----------
- -
-------------------------
-<td>
- <div height 100% and scroll within td>
-</td>
-
-------------------------
The problem I want to div to scroll within the div and automatically resize with the browser. This works fine in IE but not in netscape.
Here is the code: any help would be great
<table height="100%" width="100%" border="1">
<tbody>
<tr height="200">
<td> and stuff</td>
</tr>
<tr>
<td>
<div style="width:100px; height:100%; background-color:#cccccc; overflow:scroll;">
1<br />2<br />1<br />2<br />1<br />2<br />1<br />2<br />1<br />2<br />1<br />2<br />1<br />2<br />1<br />2<br />1<br />2<br />
1<br />2<br />1<br />2<br />1<br />2<br />1<br />2<br />1<br />2<br />1<br />2<br />1<br />2<br />1<br />2<br />1<br />2<br />
1<br />2<br />1<br />2<br />1<br />2<br />1<br />2<br />1<br />2<br />1<br />2<br />1<br />2<br />1<br />2<br />1<br />2<br />
</div>
</td>
</tr>
</tbody>
</table>
Thanks