asp.net.ph

Skip Navigation Links

clientTop Property

DHTML Object Properties   DHTML Objects


Returns the distance between the offsetTop and the true top of the client area, in pixels.

Syntax

HTML N/A
Script [ iDistance = ] object.clientTop

Possible Values

iDistance Integer specifying the described distance.

The property is read-only with no default value.

Remarks

The difference between the offsetTop and the clientTop is the border area of the object.

See Also

Measuring Element Dimension and Location, The Browser Screen


Need a break ?
Suggested Reading

Check out related books at Amazon

© 2025 Reynald Nuñez and asp.net.ph.

If you have any question, comment or suggestion,
please send us a note