![]() |
#1 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 57
Karma: 5000
Join Date: Oct 2012
Device: Kindle
|
How to disable margin-bottom property on hidden_content class
When I use Calibre to convert ebooks, then it adds a completely new property to a .hidden_content class:
.hidden_content { display: none; margin-bottom: 0.7em; } The margin-bottom then results in ebooks adding hundreds of useless blank pages between the chapters. As a workaround, I'm developing a rather involved xmlstarlet script to strip the hidden and hidden_content-class tags from my books. (Neither the Calibre built-in style nor html tag rules engine is able to easily remove these.) https://github.com/mcandre/nile |
![]() |
![]() |
![]() |
#2 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,316
Karma: 238048979
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
|
Has never happened to me, and I've converted thousands of ebooks over the past 11 years. Something must be amiss in your settings, or in the css of the books.
|
![]() |
![]() |
Advert | |
|
![]() |
Tags |
settings |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Bottom margin question | mzel | KOReader | 9 | 12-11-2021 05:14 PM |
How to disable CSS property in viewer? | odonterla | Calibre | 2 | 05-14-2020 10:50 PM |
Top-margin (bottom-margin?) for Kobo? | Notjohn | Sigil | 14 | 02-28-2015 06:43 AM |
@page { margin-bottom: 5.000000pt; margin-top: 5.000000pt; } | cybmole | Conversion | 15 | 02-12-2011 11:57 AM |
calibre ignore margin-top and margin-bottom | bender | Calibre | 2 | 12-11-2009 06:58 AM |