Morning Cup O' Joe

Time you enjoy wasting isn't wasted time.

EPUB to MOBI Conversion [Left Margin Problem]

For the small subset of people in the world who experience the “left margin issue” above when converting from EPUB format to MOBI format, here is a solution that works for me:

  1. Install Calibre and Sigil.
  2. Import your EPUB into Calibre.
  3. Convert the EPUB to EPUB. This normalizes the CSS stylesheet for the book. Under “Page Setup” set the left margin to 0.
  4. Open the new EPUB in Sigil.
  5. Open Stylesheet.css (or stylesheet1.css) (located under the “Styles” folder in the Book Browser on the left.
  6. Do a search for anything that says “margin-left” (or “margin-right”).
  7. If the value is anything other than “0”, change it to 0. E.g. “5pt” –> “0pt” or “1em” –> “0em” You will find multiple instances of this within the stylesheet.
  8. Save the EPUB and exit Sigil.
  9. Open Calibre and convert the EPUB to MOBI. Under “Page Setup” set the left margin to 0.

That should do it. It’s cumbersome, yes, but it gets the job done.

Based off of a post in


February 23, 2011 - Posted by | How-To, Software | , , , , , , , , , ,

Sorry, the comment form is closed at this time.

%d bloggers like this: