Quote:
Originally Posted by chantsing
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;
}