The line-height
property can be set for
- block-level element - to define the minimum height for each inline element contained in the block- level element.
- in-line element - to define the exact height for that element.
The possible values of the line-height
property are.
Properties | Description |
---|
normal | the default value |
<number> | represents a multiplier used to determine the actual value |
<length> | represents the actual value |
<percentage> | represents a multiplier used to determine the actual value |
Note
Negative values are not allowed
When multipliers are used, the actual value of the line-height is the product of the multiplier and the largest font size.
<length> - must be followed by a unit.