Click to See Complete Forum and Search --> : scrolling table cell?


caynada
05-01-2003, 10:32 AM
Is there a way to have just a cell scrollable?

khalidali63
05-01-2003, 10:38 AM
If I understand you correctly...you can add an div element in a cell and set the css property overflow:auto it will mimic the effect you are talking about

caynada
05-01-2003, 10:43 AM
thank you, I'll try that out

caynada
05-01-2003, 10:50 AM
actually, is there any way you could provide a sample. Sorry, i tried but it didn't work.

Thanks

pyro
05-01-2003, 11:04 AM
Try this:

<table border="1">
<tr>
<td>
<div style="width:200px; height:100px; overflow:auto;">
This is some spacer text so that when you try to preview this, you are able to see that it is working.
This is some spacer text so that when you try to preview this, you are able to see that it is working.
</div>
</td>
</tr>
</table>

khalidali63
05-01-2003, 11:07 AM
Thanks Pyro

:D

pyro
05-01-2003, 11:08 AM
lol... :D No problem!

caynada
05-01-2003, 11:25 AM
Thanks to both of you for your help
:cool: