|
|
#1 |
|
Junior Member
![]() Posts: 1
Karma: 10
Join Date: Aug 2022
Device: Kindle
|
@page margin resets when converting book [epub -> AZW3]
I have an epub book with a following style.css
Code:
@page {
margin: 0;
}
body {
display: block;
margin: 0;
padding: 0;
}
Code:
@page {
margin-bottom: 5pt;
margin-top: 5pt
}
I was wondering if this behaviour could be changed by some setting, or a plugin? |
|
|
|
|
|
#2 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,610
Karma: 28549044
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You specify page margins in the conversion settings under page layout and these are applied during conversion. Set those settings to negative numbers and they will be ignored preserving originals.
|
|
|
|
| Advert | |
|
|
![]() |
| Tags |
| css, margin |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Left margin from Epub to mobi or AZW3 | Ansem_93 | Conversion | 9 | 05-28-2020 01:01 PM |
| Page justification when converting from EPUB to AZW3 | Tomhik | Conversion | 1 | 01-23-2018 12:02 AM |
| Too many page breaks when converting from .azw3 to epub | Kaetrin | Conversion | 15 | 08-10-2016 04:00 AM |
| Converting ePub > AZW3 so the cover shows up as the first page | JSWolf | Kindle Formats | 5 | 06-30-2014 02:52 PM |
| Converting large book from azw3 to epub failes | gameman | Conversion | 5 | 12-15-2013 10:10 AM |