PDA

View Full Version : Scroll bar



snbess
18 Jan 2011, 02:27 PM
I am attempting to add a scroll bar to what will eventually be a log file that will get dumped into this table. There may be many entries and we want the table to have a scroll bar so that not everything is viewable at once. Similar to this message looks as I type the post, actually. I got the div code from one source, but I am apparently not applying it correctly. Can anyone suggest a solution?

<tr>
<td height="100%" valign="top"><br>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<div style="overflow:auto; width:441px; height: 200px;">
<td width="50%" id="tdDataBox"><table border="0" cellspacing="0" cellpadding="3">
<tr>
<td class="bluebold" id="tdBrdrBtm">ITEM</td>
<td class="bluebold" id="tdBrdrBtm">DATE</td>
<td class="bluebold" id="tdBrdrBtm">TIME</td>
<td class="bluebold" id="tdBrdrBtm">EVENT</td>
<td class="bluebold" id="tdBrdrBtm">WHO</td>
<td class="bluebold" id="tdBrdrBtm">INFO</td>
</tr>
<tr>
<td class="bodytext">1123</td>
<td class="bodytext">01/27/08</td>
<td class="bodytext">11:55:08</td>
<td class="bodytext">LOGIN</td>
<td class="bodytext">USR&nbsp;I/F</td>
<td class="bodytext">ADMIN1</td>
</tr>


</div>

</table>