Export (0) Print
Expand All rightMargin

rightMargin of type DOMString

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

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. The property has a default value of 10.

This attribute extends the HTMLBodyElement interface.

© 2015 Microsoft