View Single Post
Old 05-12-2012, 02:09 PM   #1
Jane12
Groupie
Jane12 ought to be getting tired of karma fortunes by now.Jane12 ought to be getting tired of karma fortunes by now.Jane12 ought to be getting tired of karma fortunes by now.Jane12 ought to be getting tired of karma fortunes by now.Jane12 ought to be getting tired of karma fortunes by now.Jane12 ought to be getting tired of karma fortunes by now.Jane12 ought to be getting tired of karma fortunes by now.Jane12 ought to be getting tired of karma fortunes by now.Jane12 ought to be getting tired of karma fortunes by now.Jane12 ought to be getting tired of karma fortunes by now.Jane12 ought to be getting tired of karma fortunes by now.
 
Posts: 171
Karma: 1706300
Join Date: Oct 2010
Device: iDevices
Stop Calibre from adding page margins?

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!
Jane12 is offline   Reply With Quote