View Single Post
Old 07-17-2021, 11:58 PM   #11
hobnail
Running with scissors
hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.
 
Posts: 1,590
Karma: 14328510
Join Date: Nov 2019
Device: none
In that Common options, Page setup I have the output profile set to Tablet and the Input profile set to Default profile. The margins are all set to 0 pt. When I get a book from amazon, after converting it to epub in calibre I use a big sledge hammer and in sigil remove the class on all of the body p tags, and also the class on the body tag. If all of the body p tags also have a span tag inside the p tag then I use sigil's Tag Mechanic plugin to remove those. Then I add some override css at the bottom of their css file, which includes
Code:
body {
  font-size: 100%;
  border: 0;
  margin: 0;
  padding: 0;
  width: auto;
}

p {
  font-size: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  text-indent: 2em;
}
Under Look & feel, Styling I've added those lines as well as
Code:
body * {
  line-height: inherit;
}
At the bottom I've checked all of the boxes for "style information you want completely removed".

My goal is to have all books look the same with respect to font size, margins, and line spacing.

Last edited by hobnail; 07-18-2021 at 12:08 AM.
hobnail is offline   Reply With Quote