View Single Post
Old 10-18-2011, 10:34 PM   #7
ldolse
Wizard
ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.
 
Posts: 1,337
Karma: 123455
Join Date: Apr 2009
Location: Malaysia
Device: PRS-650, iPhone
The other bit with the @page directive is top and bottom margins only really work with @page (since they're defined a the 'page' level). Many ebook publishers put the top and bottom margins on the body tag, and this would only affect the top and bottom margin on the first and last page of the xhtml flow (top of the first page, bottom of the last) - the pages in the middle would have zero margins.

The other confusing bit is that many publishers put additional margins in the adobe .xpgt file, which is proprietary to ADE - often both the css and xpgt need to be modified in that situation - I think Calibre removes these during conversion these days.

The modify ePub plugin, which should be released soon, can modify the margins in any ePub to match Calibre's prefs without requiring a full conversion.
ldolse is offline   Reply With Quote