HTML Dog
Skip to navigation

CSS Property: margin-right

The right margin of a box, outside the right border, padding, and content areas.

Possible Values

ValueNoteExample
[length]10px
[percentage]Calculated as a percentage of the containing box’s width.25%
auto
inherit
initial
unset

Example


#deer { margin-right: auto; }