Quantcast
Channel: MobileRead Forums - Kindle Formats
Viewing all articles
Browse latest Browse all 861

Big margins in Kindle footnote pop-up

$
0
0
Hello, I've got a problem with an AZW3 file that I converted from EPUB with calibre to send to my Kindle PW1. It wasn't a well made e-book, so before conversion I opened it with calibre's editor to improve it.

Among the things I modified were the endnotes and although they look good on my pc, they have a big margin on my Paperwhite, but only in the popup view. At the end of the book, with all the notes together, they have the right spacing.

This is a sample of the code I used (already converted to AZW3):

Code:

<body class="calibre">
  <h2 class="notes-title"><em class="calibre4">Note</em></h2>

  <div class="endnotes">

    <div class="endnote">
      <p class="note"><a href="part0002.html#note-1" id="endnote-1">1</a> Come venir sotterrato nella sabbia e rimpinzato di uova di scarabeo.</p>
    </div>

  </div>

</body>

Code:

.endnotes {
    display: block;
    font-size: 0.8em;
    margin-top: 4em
    }
.endnote {
    display: block;
    margin-bottom: 0.5em
    }
.note {
    display: block;
    text-indent: 0;
    margin: 1em 0 0.2em
    }

The results are attached. Is the Kindle's renderer inflating the spacing? Or did I make a mistake? Because The 2nd screenshot is exactly as I want it, but in the 1st there is a huge bottom margin I'd like to remove.

Thanks for the help

Attached Thumbnails
Click image for larger version

Name:	screenshot_2021_12_12T18_44_17+0200.png
Views:	N/A
Size:	27.2 KB
ID:	190790   Click image for larger version

Name:	screenshot_2021_12_12T18_44_31+0200.png
Views:	N/A
Size:	32.3 KB
ID:	190791  

Viewing all articles
Browse latest Browse all 861

Trending Articles