View Single Post
Old 05-12-2012, 02:20 PM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,079
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by Jane12 View Post
Hi! Calibre is great! Many thanks to the developers!

I was wondering, is there a way to prevent Calibre from generating and adding page margins to epubs?

From what I can tell, Calibre automatically takes settings from Prefs > Page Setup > Margins and adds them to each epub thus:
  • margin-left/right get added to .calibre in stylesheet.css
  • margin-top/bottom get added with an @page command either at the top of each html file or in the new page_styles.css generated in v0.8.51 (thanks for moving this to an external stylesheet!)

What I would like is for these margin commands not to be added at all.

I've tried deleting the entries in Prefs > Page Setup > Margins, but that doesn't work, the settings can't be empty/blank. Entering zero doesn't help, as that just sets the margins to zero.

If it matters, I'm using "Default Output Profile."

Any suggestions? Thx!
Set them to a very small number: 1px
Not all devices show the edge of the screen (the bezel overlaps) . A couple of pts gives most device users a chance
BTW once any profile has been used on a title, those settings will be stored unless you use the button (tick box in bulk mode) to release prior settings.
theducks is offline   Reply With Quote