Here's a snippet of some html
<html>
<head><title>Sample</title></head>
<body>
<table border=1 cellspacing=0 cellpadding=1 bordercolor="#000000">
<tr><td>test scrolling grid</td></tr>
<tr><td>
<div style="width:200px;height:65px;overflow-x:hidden;overflow-y:scroll">
<table width="100%" border=1 cellspacing=0 cellpadding=0 bordercolor="#0000ff">
<tr><td width="100%">1</td></tr>
<tr><td width="100%">1</td></tr>
<tr><td width="100%">1</td></tr>
<tr><td width="100%">1</td></tr>
<tr><td width="100%">1</td></tr>
<tr><td width="100%">1</td></tr>
<tr><td width="100%">1</td></tr>
<tr><td width="100%">1</td></tr>
<tr><td width="100%">1</td></tr>
<tr><td width="100%">1</td></tr>
<tr><td width="100%">1</td></tr>
<tr><td width="100%">1</td></tr>
</table>
</div>
</td></tr>
</table>
</body>
</html>
You'll notice that in IE, the div limits the size of the grid displayed and it includes a nice scroll bar. This makes web apps look very much like a desktop app (pick your language).
Unfortunately, this behavior does not happen on other browsers such as Mozilla1.x/Netscape6.x or Opera6
Am I missing something? Can I do something similar for non-ie?
Thanks "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rich Cook
<html>
<head><title>Sample</title></head>
<body>
<table border=1 cellspacing=0 cellpadding=1 bordercolor="#000000">
<tr><td>test scrolling grid</td></tr>
<tr><td>
<div style="width:200px;height:65px;overflow-x:hidden;overflow-y:scroll">
<table width="100%" border=1 cellspacing=0 cellpadding=0 bordercolor="#0000ff">
<tr><td width="100%">1</td></tr>
<tr><td width="100%">1</td></tr>
<tr><td width="100%">1</td></tr>
<tr><td width="100%">1</td></tr>
<tr><td width="100%">1</td></tr>
<tr><td width="100%">1</td></tr>
<tr><td width="100%">1</td></tr>
<tr><td width="100%">1</td></tr>
<tr><td width="100%">1</td></tr>
<tr><td width="100%">1</td></tr>
<tr><td width="100%">1</td></tr>
<tr><td width="100%">1</td></tr>
</table>
</div>
</td></tr>
</table>
</body>
</html>
You'll notice that in IE, the div limits the size of the grid displayed and it includes a nice scroll bar. This makes web apps look very much like a desktop app (pick your language).
Unfortunately, this behavior does not happen on other browsers such as Mozilla1.x/Netscape6.x or Opera6
Am I missing something? Can I do something similar for non-ie?
Thanks "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rich Cook