W3C home > Mailing lists > Public > www-style@w3.org > November 2000

scrolling within a DIV dynamically

From: Chris Basken <chriz@basken.com>
Date: Thu, 2 Nov 2000 11:42:47 -0500
To: <www-style@w3.org>
hey all.

does anyone know how to scroll within a DIV using JS (or even HTML, if

i'm filling a DIV with content, and i have scrolling set to auto.  as the
DIV fills, i'd like to keep the bottom-most line readable, and scroll the
older stuff off the top.  right now, it adds content to the bottom, but the
"focus" (so to speak) stays at the top of the DIV.

did that make sense?
Received on Thursday, 2 November 2000 11:45:13 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:26:55 UTC