Element Properties: clientTop

By: Dusty Arlia
Published on Monday, September 22, 2014 at 7:36 PM
Last Updated on Monday, July 06, 2015 at 12:46 PM
Total Updates: 2

The clientTop property is rarely ever used. It is not very helpful. Most of the time it holds the width of the top-border.

More specifically, it holds the value of the amount of pixels between the top of the top-border and the top of the top-padding. If for some strange reason there is a scrollbar across the top of the Element object, the width of this scrollbar is included.