Line Height

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.

PropertiesDescription
normalthe 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.
Related Tutorial
Follow Us
https://www.facebook.com/Rookie-Nerd-638990322793530 https://twitter.com/RookieNerdTutor https://plus.google.com/b/117136517396468545840 #
Contents +