View Single Post
Old 07-03-2012, 02:28 PM   #640
Rand Brittain
Bookmaker
Rand Brittain ought to be getting tired of karma fortunes by now.Rand Brittain ought to be getting tired of karma fortunes by now.Rand Brittain ought to be getting tired of karma fortunes by now.Rand Brittain ought to be getting tired of karma fortunes by now.Rand Brittain ought to be getting tired of karma fortunes by now.Rand Brittain ought to be getting tired of karma fortunes by now.Rand Brittain ought to be getting tired of karma fortunes by now.Rand Brittain ought to be getting tired of karma fortunes by now.Rand Brittain ought to be getting tired of karma fortunes by now.Rand Brittain ought to be getting tired of karma fortunes by now.Rand Brittain ought to be getting tired of karma fortunes by now.
 
Posts: 416
Karma: 2143650
Join Date: Sep 2010
Device: Cybook Opus
Quote:
Originally Posted by eMole View Post
Not sure what you mean by that top-margin issue.
If you mean page breaks are omitted after h1, h2, h3, try the following in your epub.css:
h1, h2, h3, .title, .title1, .title2, .title3 {
page-break-before: auto;
page-break-inside: avoid;
page-break-after: auto;
}
No, I mean that whenever there's a page break inside the epub, like, say, because I've moved from one xhtml document inside the epub to the next, the first item has no margin-top, even when it should.
Rand Brittain is offline   Reply With Quote