What is the ideal line-height and what type of value should I use with line-height values, em, px or percentages?
+3
A:
em
is relative and will scale nicely when/if your users change the text size (which my mom, for example, often does for readability reasons).
Alex Mcp
2010-09-13 21:47:27
+3
A:
It is usually considered for a comfortable reading experience that line height should be 1.5 to 2 times the size of the font.
p{
font: normal 10pt/15pt sans-serif;
}
Note that it depends on the font you use. In web design, every rule has to be taken with a grain of salt.
pixeline
2010-09-13 21:49:07