View Single Post
Old 01-23-2024, 08:31 PM   #13
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: 47,213
Karma: 169936284
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by chantsing View Post
As what you said, i use the following CSS code to avoid non-zero margin-bottom in .


Code:
p {
        text-indent:2.5em;
	margin: 0 0 20px;
	padding: 0;
	line-height: 1.8;
	margin-bottom: 0px;
}
But, it does not work.
Out of curiosity, why are you setting the line height to 1.8? That is pretty much the equivalent of double spacing your text.

Personally, I use the following for my basic p code:

Code:
p {
  text-indent: 0;
  margin: 0 0 0 0;
  padding: 0.1em 0 0 0;
  margin-block-end: 0em;
}
DNSB is offline   Reply With Quote