![]() |
#1 |
Zealot
![]() Posts: 142
Karma: 10
Join Date: Jun 2014
Device: nook
|
Nook Specific Issue with Padding/Margins
I am uploading two epub files.
One displays the way I want (called Catherine of Alexandria) One displays with all extra padding/margins between all <p,h,div>(called test1) This only happens on my Nook. On Kobo Touch, iBook Sigil, and the converted Mobi on my Kindle there is no extra padding/margins. If anyone can tell me what I am missing that Nook wants and that is different between the two files I am uploading I would appreciative. I have been unable to figure out the problem. |
![]() |
![]() |
![]() |
#2 |
Zealot
![]() Posts: 142
Karma: 10
Join Date: Jun 2014
Device: nook
|
After doing a search on the forum, I used Calibre to do an epub to epub conversion with removing all spaces between paragraphs and expanding the CSS. This worked, but leaves me confused. I don't want to be bothered using Calibre to fix my epub. I am using Sigil and I know that program is capable of fixing whatever the issue is. I need help pinpointing where I went wrong.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Brash Fumbler
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,203
Karma: 9224939
Join Date: May 2013
Device: NST, Kobo Mini
|
I'm using a NOOK Simple Touch. One thing that I have learned is that the NOOK over-rides the CSS for paragraphs marked <p>.
Specifically, if I change the CSS for <p> to set the indent to zero, the NOOK still indents paragraphs. To defeat this I had to edit the document to change all the <p> to something else, like <standard>. Then I had to add the format code for .standard to the CSS. After doing that the NOOK displays the paragraphs without indentation. Bottom line: the e-reader has some default formatting that will over-ride the CSS code in certain circumstances. I'm not sure if that helps, but best of luck making the machine do what you want! |
![]() |
![]() |
![]() |
#4 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 264
Karma: 2121470
Join Date: Oct 2011
Location: Arlington, TX
Device: Kindle PW4, Moon+ Reader on a cheap Android tablet
|
This is a .css snipet from test1.epub, which may be part of your problem:
Quote:
Whenever I import an epub into calibre that I'm going to read on the Nook, I always convert all forms of the "margin" shorthand rule to the equivalent margin-top, margin-left, etc in the calibre epub editor as a workaround (the few regexes I've written were for this). If you're doing a conversion to epub in calibre, somewhere in it's conversion settings there is an option to "expand css" (or something similar) that also does this. |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Minor issue with padding of Sueddeutsche recipe | aerodynamik | Recipes | 7 | 02-03-2015 03:39 PM |
Need a little help with margins/padding | rosshalde | ePub | 3 | 01-02-2015 09:41 PM |
epub "padding left" to mobi "block quote" conversion issue | 1611mac | Conversion | 3 | 01-11-2012 02:10 PM |
Mac specific calibre issue | kitae | Calibre | 2 | 08-05-2010 08:55 AM |
Are margins an issue? | GA Russell | Which one should I buy? | 2 | 08-21-2009 04:36 PM |