+ 11
How can I reduce the space between two lines of text or two different paragraphs
6 Respostas
+ 5
You can use CSS "line-height"
https://developer.mozilla.org/en-US/docs/Web/CSS/line-height
+ 4
For text: line-height: 2
For paragraph : margin-bottom : 20px
0
For text:line-height: 2
For paragraph : margin-bottom : (use the distance you want in pixels)
0
For different paragraphs you can use margin or padding, you will get the same result.
Eg. margin-bottom: 20px or padding-bottom:20px (Note that this style should be added to the paragraph at the top alternatively it can be added to the paragraph at the bottom by implementing margin-top or padding-top
- 2
it's up to you how you write the code.By the way I am not a web developer but I guess it's common sense