- « Padding Right
- |
- Overview
- |
- -
CSS Property - Padding Top
Value: <length> | <percentage>
Initial: 0
Applies to: all elements
Inherited: no
Percentage values: refer to width of closest block-level ancestor
The CSS property "padding-top" sets the top padding of an element.
Example:
blockquote{
padding-top: 2em;
}
Padding values cannot be negative.
- « Padding Right
- |
- Overview
- |
- -


