View Single Post
Old 05-22-2012, 02:47 PM   #3
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,698
Karma: 205039118
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by steve2112 View Post
However, for headings, the space before is not translating through into the epub document - but the space after is (i.e. if I change the spacing after the paragraph, I can see the difference as soon as I create the epub, but the spacing before is zero, no matter what value I have in InDesign)
CSS spacing before a heading (or any element) that's been assigned the "page-break-before" CSS directive will be ignored by ADE (or at least it won't render). This happens a lot when the epub consists of one single html document with page breaks assigned via CSS.

In other words if you want spacing above the first item following a page break.. you need to physically start a new html file at that point. Otherwise, you won't be able to assign any spacing before that element.

I'm attaching a sample epub that demonstrates the issue.
Attached Files
File Type: epub margin-top-ade.epub (2.7 KB, 504 views)

Last edited by DiapDealer; 05-22-2012 at 03:08 PM.
DiapDealer is offline   Reply With Quote