Margin-right (editing)
In CSS the margin-right property sets the right margin of an element by specifying a length or a percent.
Note: negative values are permitted
Syntax
margin-right: (value)
Inherited
No
Possible Values
Auto: The browser sets a right margin.
Length: Defines a fixed right margin. Default value is 0.
%: Defines a right margin in % of the total width of the document.
Examples
.navigation { margin-right:15px }
h1
{
margin-right: 10px
}
h2
{
margin-right: -20px
}
Sources:
http://www.w3schools.com/css/pr_margin-right.asp
http://www.highdots.com/css-editor/css_tutorial/box/margin-right.html
Comments (0)
You don't have permission to comment on this page.