Is it good to add line-height in body?
Posted
by metal-gear-solid
on Stack Overflow
See other posts from Stack Overflow
or by metal-gear-solid
Published on 2009-11-04T05:30:12Z
Indexed on
2010/04/24
3:23 UTC
Read the original article
Hit count: 284
Is it good to add line-height in body{line-height:1.5} or it would be better if i add separately for tag by tag like p{ line height:1em} etc.
Edit:
body {line-height:in em} create problem with if we put image with float inside
Edit: 24 April 2010:
If i have to add different line heights to elements
like
p { 1.4}
h1 {1.6}
h2 { 1.2}
ul li { 1.1}
then shouldn't i use line height in body { 1.4}
if body { 1.4} and h1 {1.6} then what would be line height for h1?
© Stack Overflow or respective owner