11-02-2009, 01:28 PM | #1 |
Bookaholic
Posts: 14,391
Karma: 54969924
Join Date: Oct 2007
Location: Minnesota
Device: iPad Mini 4, AuraHD, iPhone XR +
|
Problem changing margins on an ePub
I normally have no problem changing the margins on commercial ePub's, but I've got one right now that's vexing me. Normally it's a simple matter of editing the CSS or, if it has one, page-template.xpgt file. I've done that this time and the ePub still has large margins. I also tried running it through Calibre and they didn't change.
Any ideas on where else in the file I might have to look to be able to edit the margins? |
11-02-2009, 02:31 PM | #2 |
frumious Bandersnatch
Posts: 7,533
Karma: 19000001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Hmm... have you tried removing the CSS (or leaving it empty), to check if it's actually something in the CSS that's making the margin?
|
Advert | |
|
11-02-2009, 03:49 PM | #3 |
Bookaholic
Posts: 14,391
Karma: 54969924
Join Date: Oct 2007
Location: Minnesota
Device: iPad Mini 4, AuraHD, iPhone XR +
|
|
11-02-2009, 04:30 PM | #4 |
Bookaholic
Posts: 14,391
Karma: 54969924
Join Date: Oct 2007
Location: Minnesota
Device: iPad Mini 4, AuraHD, iPhone XR +
|
After messing around some more it appears the edited page-template.xpgt file wasn't copying over properly. Now that it did all the margins are 'fixed' except for the right hand one, which appears to be a CSS issue. Unfortunately the CSS for this book is 3,262 lines long so it might take a bit to track it down.
Thanks Jellby for the trouble shooting suggestion EDIT: Of course right after I posted I found the offending line. Thanks again Jellby. Last edited by AnemicOak; 11-02-2009 at 04:33 PM. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Can't seem to change epub margins | Desertway | Calibre | 7 | 01-19-2012 04:28 AM |
Changing a PDF file to custom margins ? | masa6614 | General Discussions | 0 | 06-08-2010 04:21 PM |
Problem with epub to lrf with changing font size and line spacing | kleinbiker | Calibre | 4 | 12-17-2009 08:55 AM |
A problem with Margins? What tool? | bar0n1 | LRF | 3 | 04-25-2009 12:30 PM |
changing margins and fonts? | BruceB | Calibre | 3 | 02-09-2009 05:20 PM |