Keeping the scroll to bottom
Posted
by Shishant
on Stack Overflow
See other posts from Stack Overflow
or by Shishant
Published on 2010-04-16T13:30:46Z
Indexed on
2010/04/16
13:33 UTC
Read the original article
Hit count: 251
Hello,
I have a shoutbox and I want to keep the scroll to bottom same as IM windows.
My html is
<div id="shoutContainer">
<table id="shoutbox">
<tbody>
<!-- shouts here -->
</tbody>
</table>
</div>
My css
#shoutContainer {
height: 100px; overflow-y: scroll;
}
If its not possible through html and css. Can we achieve this in raw javascript? because I am not using any framework
© Stack Overflow or respective owner