Quote:
Originally Posted by aterry13
Ah... come on... no Ebook Wizardry for Dummies? I need it!  Yes, from what I understand in your questions... the stylesheet coding for italics, bold, etc. are working correctly. They work in the book view on Sigil and in the eReader (Nook Simple with Glow Light). For some reason it is only the Normal type that remains some unknown font and that I can't get rid of.
I will gladly add in the portions... But I am unsure of the best way to do it...
I am attaching a word doc that has the CSS coding and a chapter of the book works right on the italics - making the switch to the new font. Will that work? If that isn't the best way to go, let me know and I can just paste it in here.
Now, having said that... I hope I did it right. Thanks to anyone who helps me track this mystery down - it has become such a challenge I just WANT to solve it! 
|
Well...I have a few thoughts.
Firstly, I don't see anyplace whatsoever in which your basic paragraph styling is set. Now, this being a calibre mess, I could have overlooked it. But all I see are Calibre classes, followed by these other specialty classes (like toc-preface,right)?
So, there's no basic p class that has a font styling that would be inherited for the other p classes, barring another selection. For example, you have a bunch of paragraphs that look like this:
Code:
<p class="toc-preface"><span class="font">Talin McKade told</span> herself that twenty-eight-year-old women—especially twenty-eight-year-old women who had seen and survived what she had—did not fear anything as simple as walking across the road and into a bar to pick up a man.</p>
But the toc-preface styling is this:
Code:
.toc-preface {
border-bottom: 0;
border-top: 0;
display: block;
font-size: 0.8em;
line-height: 1.2;
margin-bottom: 0;
margin-left: 0;
margin-right: 0;
margin-top: 0;
padding-bottom: 0;
padding-top: 0;
text-align: justify;
text-indent: 1.5em
}
Which has no font declaration in it. As there isn't a basic p class declaration for it to inherit, how would it "know" to display Droid? The span class, "font" likely works, because you told it to display DROID, but the toc-preface class wasn't, and had no styling to
inherit from a basic p declaration.
Also, you have TWO stylesheets linked in here; one named stylesheet.css and one named "page_styles.css." If two really exist, you have to look in both; if two don't, eliminate the extra, non-existent line referencing it.
Your em classes (italics) are working because you gave your em html tag a CSS class of "calibre8," which has the font (DROID) and the style, italic, as its attributes. So when you have your declaration of "em class="Calibre8," of course that's going to work. If you removed the Calibre8 class from that, the Droid wouldn't show there, either. You've failed to set the basic paragraph styling--that's the fundamental problem.
Others here may see something different, but, at an admittedly fast glance, that's what I see. Hope it helps!
(And, really, not to be rude in any way, but: try to code books in html first. Calibre is probably a perfectly okay shortcut for bookmakers who know what they are doing, because they can eliminate the cruft, nuke the excess, fix the stylenames to be comprehensible, etc. But it's a really unfortunate way to learn. Just my $.02, and as they say, it's not really my business to tell you what to do. But somebody with a few books under their belt would have renamed these styles, to make this type of troubleshooting easier; would have scruffed the cruft; and would have known to put a basic paragraph style in there, which I devoutly hope I didn't simply miss seeing. Don't make it so difficult on yourself; this is a much, much harder way to learn.) ;-)
Hitch