Magazine |
| | Community |
| | Workshop |
| | Tools & Samples |
| | Training |
| | Site Info |
|
|
||||||||
|
Returns the distance between the offsetTop and the true top of the client area, in pixels.
Syntax
HTML N/A Scripting [ iDistance = ] object.clientTop
Possible Values
The property is read-only with no default value.
iDistance Integer specifying the described distance.
Remarks
The difference between the offsetTop and the clientTop is the border area of the object.
Applies To
A, ADDRESS, APPLET1, B, BDO, BIG, BLOCKQUOTE, BODY1, BUTTON1, CAPTION1, CENTER, CITE, CODE, COL, COLGROUP, DD, DFN, DIR, DIV1, DL, DT, EM, EMBED1, FIELDSET1, FORM, HEAD, Hn, HTML, HTMLAREA, I, IMG1, INPUT type=button1, INPUT type=checkbox1, INPUT type=file1, INPUT type=hidden1, INPUT type=image1, INPUT type=password1, INPUT type=radio1, INPUT type=reset1, INPUT type=submit1, INPUT type=text1, ISINDEX, KBD, LABEL, LEGEND1, LI, LISTING, MARQUEE1, MENU, META, NOBR, OBJECT1, OL, OPTION, P, PLAINTEXT, PRE, S, SAMP, SCRIPT, SELECT, SMALL, SPAN1, STRIKE, STRONG, STYLE, SUB, SUP, TABLE1, TBODY, TD1, TEXTAREA1, TFOOT, TH, THEAD, TR1, TT, U, UL, VAR, XMP1Available as of Internet Explorer 4.0 or later. Otherwise, available as of Internet Explorer 5 or later.
See Also
Does this content meet your programming needs? Write us!
© 1998 Microsoft Corporation. All rights reserved. Terms of use.