View Single Post
Old 02-20-2023, 08:00 AM   #1
paperback
Connoisseur
paperback began at the beginning.
 
Posts: 76
Karma: 10
Join Date: Feb 2022
Device: None
Bottom margin ignored when tag is enclosed within a Div and paragraph spans two pages

AFAIK, this didn't happen before Calibre 6.12.

1. Open the attached ebook (Demo) in the ebook editor and viewer.
2. Look at the style file in the editor and notice that the blockquote top and bottom margin is clearly set to 1em.
3. Adjust the viewer window so that the document occupies two pages. Notice that the blockquote bottom margin is being ignored.
4. Remove the surrounding div tags and the blockquote bottom margin reappears.

The trigger factors are (1) the tag with a bottom margin is enclosed wthin div tags and (2) the paragraph spans two pages (or more?) of the ereader.
Attached Files
File Type: epub Demo.epub (2.6 KB, 121 views)
paperback is offline   Reply With Quote