Table of contents
- 1. Summary
- 2. Syntax
- 3. Example
- 4. Specification
- 5. Notes
- 6. References
« Gecko DOM Reference
Summary
The width of the top border of an element in pixels. It does not include the top margin or padding. clientTop is read-only.
Gecko-based applications support clientTop starting with Gecko 1.9 (Firefox 3, implemented in
bug 111207
). This property is not supported in Firefox 2 and earlier.
Syntax
var top = element.clientTop;
Example
padding-top
Gentle, individualistic and very loyal, Birman cats fall between Siamese and Persian in character. If you admire cats that are non aggressive, that enjoy being with humans and tend to be on the quiet side, you may well find that Birman cats are just the felines for you.
All Birmans have colorpointed features, dark coloration of the face, ears, legs and tail.
Cat image and text coming from www.best-cat-art.com
padding-bottom

Specification
Not part of any W3C specification.
Notes
clientTop was first introduced in the MS IE DHTML object model.
Mozilla Developer Network