View Single Post
Old 02-03-2023, 06:18 PM   #9
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 46,950
Karma: 169810634
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
My example was reducing the space between paragraphs while your example is trying to reduce the space between lines in a paragraph. You could try adding a line-height as in the code block below (and yes, I ended up using 0.9 to reduce the line height (see the attached images for the effect of adding the line-height). I also tried 0.75 but that made the text a bit tight for my preferences.

Code:
p {
margin-top: 0px;
margin-bottom: 5px;
padding: 0px;
line-height: 0.9;
}
Attached Thumbnails
Click image for larger version

Name:	no_line-height.png
Views:	71
Size:	6.5 KB
ID:	199445   Click image for larger version

Name:	line-height.png
Views:	73
Size:	6.4 KB
ID:	199446   Click image for larger version

Name:	line-height_075.png
Views:	71
Size:	6.3 KB
ID:	199447  

Last edited by DNSB; 02-03-2023 at 06:21 PM.
DNSB is offline   Reply With Quote