Back to CSS1 Reference | CSS1 Properties
Prev margin-left | Next margin-top
- Property
- margin-right
- Values
- <length>, <percentage>, auto
- Initial
- 0
- Inherited
- no
This property sets the right margin of an element:
H1 { margin-right: 12.3% }
A negative value is allowed, but there may be implementation-specific limits.