Thread: ePUB weight
View Single Post
Old 02-28-2015, 12:27 AM   #31
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 13,594
Karma: 79436940
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
In the ongoing goal of using at much from the style sheet as you can, I see numerous occurences of
Code:
<p class="center" style="margin-top: 1em; margin-bottom: 1em">* * *</p>
as a break.

Why not add a new class and then just code
Code:
<p class="break" >* * *</p>
(after adding
Code:
.break {
  text-align: center;
  margin-top: 1em; 
  margin-bottom: 1em
}
to the stylesheet of course).

The whole idea is to try to separate the text itself from as much markup as possible.

Last edited by PeterT; 02-28-2015 at 12:30 AM.
PeterT is offline   Reply With Quote