JavaScript Reference/Javascript Properties/rightMargin
"rightMargin" Example
<html>
<body id="myBody">
<button onclick="alert(document.body.rightMargin);">Right Margin</button>
</body>
</html>
"rightMargin" is applied to
+----------------+--------------------------------------------------------------+
| Applied_To |<body> |
+----------------+--------------------------------------------------------------+
"rightMargin" Syntax and Note
Note:
Read and write property.
Sets the <body> element"s right margin.
Default value is 10.
Syntax:
document.all.bodyID.rightMargin = value