Quote:
Originally Posted by Liudprand
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