Retrieves the distance between the offsetTop property and the true top of the client area.
Syntax
| JavaScript | |
|---|
Property values
Type: Integer
the described distance, in pixels.
Remarks
The difference between the offsetTop and the clientTop properties is the border area of the object.
See also
- a
- address
- b
- bdo
- blockQuote
- body
- button
- caption
- cite
- code
- col
- colGroup
- custom
- dd
- div
- dl
- dt
- em
- embed
- fieldSet
- form
- hn
- html
- i
- img
- input type=button
- input type=checkbox
- input type=file
- input type=image
- input type=password
- input type=radio
- input type=reset
- input type=submit
- input type=text
- kbd
- label
- legend
- li
- meta
- object
- ol
- option
- p
- pre
- s
- samp
- script
- select
- small
- span
- strong
- sub
- sup
- table
- tBody
- td
- textArea
- tFoot
- th
- tHead
- tr
- u
- ul
- var
- Measuring Element Dimension and Location with CSSOM in Internet Explorer 9
Build date: 11/28/2012