View Single Post
Old 04-28-2013, 08:37 AM   #2
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,731
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by John123 View Post

In the CSS style sheet the p class Chapter Number has as one of its entries:

{
break-before:page;
}

But in ADE, KindlePreviewer and Calibre the Chapter Number doesn't start a new page.
AFAIK, break-before is a CSS3 property that is not supported by ADE and other older readers. Try page-break-before: always; instead.

Quote:
Originally Posted by John123 View Post

Also, how do I get Sigil to recognise TOC entries from the p class Chapter Number?
Sigil cannot generate TOC entries from <p> tags, you'll have to (temporarily) change them to <h1> heading tags.
Doitsu is offline   Reply With Quote