PDA

View Full Version : Scroll Bars


shineboy
05-09-2005, 07:20 PM
Is there a way to specify the use of scroll bars in one isolated cell?

Jittor
05-09-2005, 09:12 PM
You Could search the web for a javasscript that will do that - I don't know one off hand but it is possible. Or you could use a Textarea in the Forms area of DW, but it depends on what you are doing.

Jon

domedia
05-10-2005, 12:54 PM
You can easily 'fake' it by inserting a DIV in a table cell and then contrain it's height and width and turn on scrollbars:
<table border="1" cellpadding="5" cellspacing="3" summary="Testing scrolling">
<tr>
<td><div style="height:80px; width:160px; overflow:auto;">This is a div in a table cell that will scroll<br>1<br>2<br>3<br>4<br>5<br>6<br>7<br>8</td>
<td>This is a normal table cell</td>
</tr>
<tr>
<td>This is a normal table cell</td>
<td><div style="height:100px; width:160px; overflow:auto;">This is a div in a table cell that will scroll<br>1<br>2<br>3<br>4<br>5<br>6<br>7<br>8</td>
</tr>
</table>