javascript STYLE right

rightNN 6 IE 5 DOM 2  

Read/Write  

For an absolute-positioned element, defines the position of the right edge of an element's box (content plus right padding, border, and/or margin) relative to the right edge of the next outermost block content container.

 

For numeric calculations on this value in IE, retrieve the pixelRight or posRight style properties, which return genuine numeric values.

 
Example
 
document.getElementById("blockD2").style.right = "25px";
 
Value

String consisting of a numeric value and length unit measure, a percentage, or auto.

 
Default

auto


1897,Nickname,Homepage or email,Comments here,Add comment