View Single Post
Old 01-07-2026, 02:25 PM   #4
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,407
Karma: 62500208
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by FelixKrull View Post
At the moment I use "Remove Font-family" and remove "line-heigh", and

Code:
@page { margin: 0 !important; }

html, body {
  margin: 0 !important;
  padding: 0 !important;
}
(suggested by AI)

I just saw that I also could remove "margin-left" and "margin-right" (I am not very good at css though)

Most novels for example do not have blockquotes and I would not really care about chapter headings, but big margins on my Kindle are really annoying.

So one has to work on the books Css directly I presume?
IMHO that usually is the fastest way to wade thru a garbage (like you have) CSS

Keyword: to understanding a CSS function: Box Model
BTW In the Calibre Editor. View: Inspector.
That even shows the model. If you expand the code ► you can select that line and the Box will show the 'effective' cascaded value, and you can backtrack to the cause . Really handy when the cause was levels deep.
theducks is offline   Reply With Quote