+ 1

How to increase the spacing between two lines?

23rd Oct 2016, 6:54 PM
Iram
5 Antworten
+ 3
You can set the line-height in percent (%), using pixels value (pix) or by using number value.
23rd Oct 2016, 7:08 PM
Elias Papachristos
Elias Papachristos - avatar
+ 2
You can set: p.small { line-height: 90%; } p.big { line-height: 200%; } You can check it on the w3 page, CSS line-height property.
23rd Oct 2016, 7:16 PM
Elias Papachristos
Elias Papachristos - avatar
+ 1
Thanks a lot. One more thing, Can you please give an example how to use percentage value?
23rd Oct 2016, 7:12 PM
Iram
0
p.small { line-height: 90%; } p.big { line-height: 200%; } You can check it on the w3 page, CSS line-height property.
24th Oct 2016, 5:15 PM
Noor Hossain Redoy
Noor Hossain Redoy - avatar
0
use p.class{line-height:value;}
30th Oct 2016, 6:19 AM
Dilip Kumar
Dilip Kumar - avatar