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