View Single Post
Old 06-24-2020, 12:23 PM   #141
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,142
Karma: 144284184
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by Turtle91 View Post
I was a little confused over that too...but I think they are referring to using margins this way:
Code:
.SecBrk {margin-top:2em}

<p>Para before the break/</p>
<p class="SecBrk">Para at the break.</p>
<p>Para after the break.</p>
I don't think they were trying to justify the empty paragraphs. (at least that's the way I choose to interpret it to preserve my sense of a well ordered world! )
Your section break should be padding-top: and not margin-top:. The reason being that padding works when the section break is at the bottom/top of the screen where as margin does not work so well at the bottom/top of the screen.
JSWolf is offline   Reply With Quote