Name
left — NN 4 IE n/a DOM n/a
Synopsis
Read/Write
For positionable elements, defines the position of the left edge of an element’s box (content plus left padding, border, and/or margin) relative to the left edge of the next outermost block content container. For the relative-positioned layer, the offset is based on the left edge of the inline location of where the element would normally appear in the content.
Example
document.myIlayer.left = 45
Value
Integer.
Default
0
Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.