View Single Post
Old 08-14-2015, 03:41 PM   #9
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,961
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 gbm View Post
For your scene breaks with the nook use this:
Code:
<div class="sb">***</div>
in your css add this:
Code:
.sb {
  display: block;
  margin-bottom: 8px;
  margin-left: 0;
  margin-right: 0;
  margin-top: 0;
  text-align: center;
  text-indent: 0;
}
With the nook you need to tell it text-indent: 0 in the css or it will add an indent.

Note you can use any name you wish I just used sb as an example, also you can adjust the top and bottom margins to your preference.

bernie
Sorry, but I have to disagree here.

Not just for nook as this works in all ePub. If you prefer to use asterisks still use a space between them.
Code:
<p class="sb">● ● ●</p>
in your css add this:
Code:
.sb {
text-align: center
margin-top: .8em;
margin-bottom: .8em;
text-indent: 0
}
You need to add top space AND bottom space. Also, keep the CSS minimized. Don't put in unnecessary code. All those margins with a value of 0 don't normally need to be there and you don't need the display: block. Plus, don't use absolute spacing such as px. em is best to use.
JSWolf is offline   Reply With Quote