View Single Post
Old 05-20-2012, 09:17 PM   #11
dwig
Wizard
dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.
 
dwig's Avatar
 
Posts: 1,613
Karma: 6718541
Join Date: Dec 2004
Location: Paradise (Key West, FL)
Device: Current:Surface Go & Kindle 3 - Retired: DellV8p, Clie UX50, ...
Quote:
Originally Posted by JSWolf View Post
...
Also, you'll notice that .spacebreak looks incomplete. What's not there is picked up from the p. So when you have <p class="spacebreak"> you get the p has and just what .spacebreak overrides it and/or adds to it.
... which is good design. It allows you to make "global" changes to <p> that affect both default paragraphs and those with styles applied via the class=.

Personally, I prefer to indent paragraphs after a simple scene break and to not indent the first paragraph in the chapter. To do this I have both a "spacebreak" style and a "firstparagraph" style in my CSS, one with an indent and the other with no indent.

Traditionally with "antique" paper books a 3em indent is very common. Ebooks are generally much better off with a smaller indent of 1-1.5em. Personally, I use 1em.
dwig is offline   Reply With Quote