Quote:
Originally Posted by PeterT
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>
|
Or if you really want to go all the way:
Code:
<div class="section">Entire section contents go here.</div>
and then add:
Code:
.section + .section::before {
display: block;
text-align: center;
margin-top: 1em;
margin-bottom: 1em;
content: "* * *";
}
Unless, of course, you're also targeting Kindle, in which case kindlegen will barf when producing the MOBI content. Once again, the lowest of lowest common denominators ruins things for everybody.... *sigh*