The right property for CSS specifies how far a box's right margin edge is offset to the left of the right edge of the box's containing block.
object.style.right = "value";
<'right'> = auto | <length-percentage>
auto
Automatically specified by the user agent.
<length-percentage> =
<length> |
<percentage>
<length>
Specifies the length using a number followed by a unit of measurement.
<percentage>
Specifies the percentage using a number followed by a percent sign (%).