View Full Version : Scrollbar


BlaCKfLasH2
12-02-2003, 01:12 AM
Can you put a scrollbar in a table cell? If so please tell me how.

hockyfan641
12-02-2003, 01:51 AM
You can only put it in a div. If you want it in a div add style="overflow: auto;"

BlaCKfLasH2
12-02-2003, 02:21 AM
You cant add something like style="scroll:auto" or something?

hockyfan641
12-02-2003, 02:30 AM
Not that I'm aware of. Couldn't you put the div inside of a td and set the size of the div so it's the same size of the table?

Check out www.w3schools.com for other possible solutions.

BlaCKfLasH2
12-02-2003, 10:22 PM
Ok thanks

hockyfan641
12-02-2003, 11:08 PM
no problem

:)

Camilliaca
12-21-2003, 04:05 AM
Can you put a scrollbar in a table cell? If so please tell me how.

Here's a way:

<style type=text/css>
.td1 {
scrollbar-face-color:HERE;
scrollbar-arrow-color:HERE;
scrollbar-highlight-color:HERE;
scrollbar-shadow-color:HERE;
scrollbar-darkshadow-color:HERE;
scrollbar-3dlight-color:HERE;
}
</style>

<table>
<tr>
<td class="td1">
stuff and stuff
</td>
</tr>
</table>

lefty
12-21-2003, 04:26 AM
That's only the scrollbar coloring code, it doesn't actually create a scrollbar.