Menu Samaritan's Purse

MARGIN-RIGHT

The margin-right property sets the right margin of a box.

SYNTAX

CSS

margin-right: value;

JS

object.style.marginRight = "value";

VALUES

<'margin-right'> = <length-percentage> | auto
<length-percentage> = [ <length> | <percentage> ]
<length>

Specifies the length using a number followed by a unit of measurement.

<percentage>

Specifies the percentage using a number followed by a percent sign (%).

auto

Automatically specified by the user agent.

INITIAL

0

EXAMPLES

AUTO

LENGTH

PERCENTAGE

JS

INTERNAL

margin

margin-bottom

margin-left

margin-top

EXTERNAL

World Wide Web Consortium (W3C)