Home | Top | Web development | JavaScript Editor JavaScript EditorGet Advanced
JavaScript and Ajax Editor,
Validator and Debugger!

1st JavaScript Editor.


RIGHTMARGIN Attribute | rightMargin Property

Sets or retrieves the right margin for the entire body of the page.

Syntax

HTML Scripting
<BODY  RIGHTMARGIN = sMargin ... >
BODY.rightMargin [ = sMargin ]

Possible Values

sMargin Variant that specifies or receives the right margin, in pixels.

The property is read/write. The property has a default value of 10 .

Expressions can be used in place of the preceding value(s), as of Microsoft® Internet Explorer 5. For more information, see About Dynamic Properties .

Remarks

If the value is an empty string, the right margin is on the right edge.

The value set on the property overrides the default margin.

By default, when you set the value of this property, the opposite margin is set to the same value.

Standards Information

There is no public standard that applies to this property.

Applies To

Platform Version
Win16:
Win32:
Windows CE:
Unix:
Mac:
 
BODY
Home | Top | Web development | JavaScript Editor JavaScript EditorGet Advanced
JavaScript and Ajax Editor,
Validator and Debugger!

1st JavaScript Editor.