View Single Post
Old 08-14-2023, 12:12 PM   #21
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,167
Karma: 60406498
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 Liudprand View Post
Many thanks for this. I'm afraid that, where I suspect it's most useful, it's also completely over my head ("... put that code at the top of each (x)HTML file"?! I have no real idea what that means - though I'm sure I could work it out with the help of Google... ).


<Snip>
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
theducks is offline   Reply With Quote