Javascript Reference
Categories: Obj_Button

javascript Obj_Button clientLeft, clientTop

@July 11, 2008, 1:31 p.m.
clientLeft, clientTop Firefox/Netscape/NN n/a IE 4 Chrome/Safari/DOM n/a  

 

Read-only  

Broadly speaking, these provide the left and top coordinates of the Obj_Button element's content within the box that includes the Obj_Button element's padding, but with minor variations among various operating system versions of IE. Not available for all element types in IE for Macintosh. More useful information for inline element positioning generally comes from the offsetLeft and offsetTop properties (including Netscape 6). For CSS-positioned elements (including changing an element's position), use style object properties, such as left and top, and (in IE only) pixelLeft and pixelTop.

 
Value

Integer pixel value.

 
Default

0


Powered by Linode.