Name
scrollLeft, scrollTop — NN n/a IE 4 DOM n/a
Synopsis
Read/Write
The distance in pixels between the actual left or top edge of the
element’s physical content and the left or top edge of the
visible portion of the content. Since a SPAN
element is not a scrollable container, both values are zero. These
properties are not available in the Win32 version of Internet
Explorer 4.
Value
Positive integer or zero.
Default
0
Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.