View Single Post
Old 08-14-2023, 12:38 PM   #23
Liudprand
Zealot
Liudprand began at the beginning.
 
Posts: 133
Karma: 10
Join Date: Nov 2021
Device: Kobo Libra 2
Quote:
Originally Posted by theducks View Post
Calibre Does do this for the coverpage it makes (a valid use for a file that is not the main work) My coloring. IMHO you should NOT have this anyplace except, maybe boilerplate files. BPH's usually just have a BPH_stylsheet that is linked to their Boilerplate files they add to the Authors work)

Is it Wrong if you do? Nope. Just inefficient to maintain. The only 'wrong' is when it fails on the clients device

Code:
<head>
  <meta name="calibre:cover" content="true"/>
  <title>Cover</title>
  
<style type="text/css" title="override_css">
  @page {
    padding: 0;
    margin: 0;
  }
  body {
    text-align: center;
    padding: 0;
    margin: 0;
  }
  </style>

</head>
I've seen a full set of CSS code here and what is in the next chapter is different. That leads to a real ugly 'look' experience
Again, many thanks! But, again, I'll have to do a few evening classes before I understand any of this.

If, when you say "Is it Wrong if you do? Nope. Just inefficient to maintain. The only 'wrong' is when it fails on the clients device ", you're referring to the result I'm asking for - notes starting from 1 with each new chapter - I'd point you to my last couple of replies in this thread to Quoth. Within the subculture of this forum, it seems to be frowned upon as an objective - but it just happens to be the absolute, cast-iron industry-standard practice in the book world.
Liudprand is offline   Reply With Quote