View Single Post
Old 05-13-2013, 02:20 PM   #21
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,960
Karma: 146918083
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 theducks View Post
Why use that construct at all?

If you are starting a new scene and you want a larger space from the preceding paragraph, give it its own class with a larger top margin... just like a FirstParagraph has its own treatment.
Code:
p.newscene { margin-top: 200%; }
Even better code...

Code:
.spacebreak {
margin-top: 2em;
text-indent: 0
}
Code:
<p class="spacebreak">This is is the first paragraph of a new scene/section.</p>
That's all there is to it. No need for 200% which could be too large. Also, one thing I really dislike is p.class type classes. There's absolutely no need for them. without the p. the class can be used in anyplace a class is allowed.
JSWolf is offline   Reply With Quote