CSS margin-right
Also see the full, alphabetical list of CSS properties
The CSS margin-right property is used for specifying the width of the right hand margin.
Also see the margin, margin-top, margin-bottom and margin-left properties.
| Syntax: | margin-right: <value>; |
| Possible Values: |
|
| Initial Value: | 0 |
| Applies to: | All elements |
| Inherited: | No |
| Media: | Visual |
| Example: |
p.stay-away { margin-right: 20px }
|
| Try it yourself! |
|
