CSS Property - Margin Top
Value: <length> | <percentage> | auto
Initial: 0
Applies to: all elements
Inherited: no
Percentage values: refer to width of closest block-level ancestor
The CSS property "margin-top" sets the top margin of an element:
Example:
h1{
margin-top: 3px;
}
A negative value is allowed, but there may be implementation-specific limits.
- « Previous
- 1
- 2
- 3
- 4
- Next »