Click to See Complete Forum and Search --> : scroll bar within table?


Jakor Sevel
07-07-2003, 06:57 PM
Much like the one in the reply box, I was wondering what the codes were to place a scrollbar in a table cell so that it shows what's viewable, but once scrolling down it reveals the other stuff (not changing the overall look of the page though). Sorry if this is worded badly, but I don't know of any other way to say it. If it's not an HTML command please let me know. Thank you.

pyro
07-07-2003, 07:45 PM
Put a <div> inside the table cell, with a height and width set, and then set the overflow to auto, something like this:

<div style="height:200px; width:400px; overflow:auto;">Your text here</div>

dark_182_88
03-25-2005, 04:53 PM
but what if you want to put it in a <td> section because the website is one big table, with <td> in it to seperate the website at different places and u only want the scrollbar for one td...i tried almost everything and it still isn't working..plz email me at dark_182_88@yahoo.com
im still working on my website but the main layout is that: http://lebanonlinks.bravehost.com/index.html

and i want to put a scrollbar where i have written "main content here"

phpnovice
03-25-2005, 04:57 PM
I see scrollbars for that "main content" stuff.

Wart_Hog
03-26-2005, 09:27 AM
Are there any cross browser (IE) rendering problems using this code? I have:
<td>
<div style="height: 75px; width:100%; overflow:auto;">
<!-- CONTENT -->
</div>
</td>
Thanks,
-Mike

dark_182_88
03-26-2005, 04:19 PM
i tried this but i have my own html code for a scrollbar that i customized...but i want to put it in a <td> section of the table n it wont seem to work unless i use a textbox which i dont wanna use