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