Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
Old 02-02-2022, 04:04 AM   #1
economix
Member
economix began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Aug 2009
Location: Australia
Device: Sony PRS-505; PRS-300; Kindle 3
Conversion changes margins in ebook

I have noticed that when converting using calibre it will sometimes change the margin settings e.g. the input will have the following:

.quote {
display: block;
margin: 1em 2em;
}

And the output will be changed to:

.quote {
display: block;
margin-bottom: 1em;
margin-top: 1em
}

I get this when converting from html (zip) to azw3 and when converting the azw3 to epub.

Is there anything I can be doing to preserve the margins?

Last edited by economix; 02-02-2022 at 04:19 AM.
economix is offline   Reply With Quote
Old 02-02-2022, 04:09 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,337
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Turn off the option to remove fake margins in the structure detection section of the conversion dialog.
kovidgoyal is offline   Reply With Quote
Advert
Old 02-02-2022, 04:56 AM   #3
economix
Member
economix began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Aug 2009
Location: Australia
Device: Sony PRS-505; PRS-300; Kindle 3
Thanks Kovid. That fixed my issue.
economix is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting margins in conversion to PDF HarryT Conversion 2 06-22-2016 04:35 AM
Manga conversion margins-please help! Viktor87 Conversion 3 06-16-2015 04:35 PM
AWZ3 conversion margins slantybard Conversion 3 02-20-2013 10:26 AM
mobi to epub conversion - margins? Whoover Conversion 1 02-05-2012 06:40 PM
EPUB -> Mobi Conversion / HR and Margins pnw19 Calibre 0 06-22-2011 11:08 PM


All times are GMT -4. The time now is 05:51 AM.


MobileRead.com is a privately owned, operated and funded community.