EN
이 콘텐츠는 한국어로 제공되지 않아 영어 버전으로 표시됩니다.

clientTop property

Retrieves the distance between the offsetTop property and the true top of the client area.

Syntax

JavaScript

p = object.clientTop

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
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=email
input type=file
input type=image
input type=number
input type=password
input type=radio
input type=range
input type=reset
input type=search
input type=submit
input type=tel
input type=text
input type=url
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 with CSSOM in Internet Explorer 9

 

 

표시:
© 2014 Microsoft