Retrieves the distance between the offsettop property and the true top of the client area. dhtml语法 html | n/a |
---|
scripting | [ idistance = ] object.clienttop |
---|
dhtml可能的值 iDistance | Integer that
receives the described distance, in pixels. |
The property is read-only.
The property has no default value.
Remarks The difference between the offsetTop and the clientTop properties is the border area of the object.
是否符合公共标准
There is no public standard that applies to this property.
Applies To |
A,
ADDRESS,
APPLET,
B,
BDO,
BIG,
BLOCKQUOTE,
BODY,
BUTTON,
CAPTION,
CENTER,
CITE,
CODE,
COL,
COLGROUP,
CUSTOM,
DD,
DFN,
DIR,
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,
ISINDEX,
KBD,
LABEL,
LEGEND,
LI,
LISTING,
MARQUEE,
MENU,
META,
NOBR,
OBJECT,
OL,
OPTION,
P,
PLAINTEXT,
PRE,
S,
SAMP,
SCRIPT,
SELECT,
SMALL,
SPAN,
STRIKE,
STRONG,
SUB,
SUP,
TABLE,
TBODY,
TD,
TEXTAREA,
TFOOT,
TH,
THEAD,
TR,
TT,
U,
UL,
VAR,
XMP | |
更多语法参考 Measuring Element Dimension and Location
|