Skip to Content


CSS Reference / margin-right

margin-right

Sets the right margin of an element. Negative values are allowed.

Values:

auto length %

Examples:

margin-right: 2px; margin-right: -20%;

Browser support:

Internet Explorer 4+ Netscape 4+ Opera 3.5+

Related properties:

back to list




You are viewing a mobilized version of this site...
View original page here

Mobilized by Mowser Mowser