How to increase or decrease the space between two lines in one paragraph?

The question says it all. How to do it using CSS?

I also created a fiddle here .

+7
source share
3 answers

Use line height!

t

p { line-height:20px; } 
+12
source

Use line-height

 .test{ line-height:40px; } 

http://jsfiddle.net/jasongennaro/jn3Vw/1/

You can set the value to anything: the percentage or number that will be multiplied by the font value, or you can use a dimension like px or em .

More details here: http://reference.sitepoint.com/css/line-height

+2
source

use line-height property

line-height: 100% or line-height: 200%

0
source

All Articles