I have a div with its overflow set to auto. Inside, I have a table with several rows (10) but I only ever want to show 4 rows at a time so the height of my div is 100px.
Is there a way to always have the last row showing at the bottom? If yes, then how?
sample
code
I want 10 to be visible...
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
Is there a way to always have the last row showing at the bottom? If yes, then how?
sample
code
Code:
<div id="scroller" style="height:100px;overflow:auto">
<table>
<tr><td>1</td></tr>
...
<tr><td>10</td></tr>
</table>
</div>
I want 10 to be visible...
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