javascript STYLE pixelBottom, pixelLeft, pixelRight, pixelTop
| pixelBottom, pixelLeft, pixelRight, pixelTop | NN n/a IE 4 DOM n/a |
| Read/Write | |
|
For positionable elements, these properties define the pixel position of the edges of an element's box (content plus padding, border, and/or margin) relative to the corresponding edges of the next outermost block content container. When the element is relative-positioned, the measure is based on the edges of the inline location of where the element would normally appear in the content. Use these properties for calculation (including path animation) instead of the bottom, left, right, and top properties, which store their values as strings with the unit names. Available as a property of the IE style and runtimeStyle objects only. |
|
| Example | |
document.getElementById("myDIV").style.pixelLeft++;
|
|
| Value | |
Integer. |
|
| Default | |
None. |
|
Previous: javascript STYLE pixelHeight, pixelWidth
1888,Nickname,Homepage or email,Comments here,Add comment
