Set the line height in percent:
p.small {line-height:90%}
p.big {line-height:200%}
example:-
This is a paragraph with a standard line-height.
The default line height in most browsers is about 110% to 120%.
This is a paragraph with a standard line-height.
This is a paragraph with a smaller line-height.
This is a paragraph with a smaller line-height.
This is a paragraph with a smaller line-height.
This is a paragraph with a bigger line-height.
This is a paragraph with a bigger line-height.
This is a paragraph with a bigger line-height.
Result:-

Note:-Please comment and reply me.
0 comments:
Post a Comment