JavaScript Reference/Javascript Properties/rightMargin
Версия от 18:30, 25 мая 2010; (обсуждение)
"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