A couple replies here...
Quote:
Originally Posted by Toxaris
Correct, some readers ignore, or used to ignore, a font family set in the html or body tag. IIRC Nook was one, but I could be mistaken for another reader. For those readers you need to add the font-family for the paragrapgh tag for example.
|
Oh, crap, I hate it when someone says something that has me wondering if I should go back and fix up ALL my previous ebooks!
So are you saying it'd be advisable to add in font-family for all my <p> tags, too?
Also, on a separate (but related) note, Woflie wrote...
Quote:
Originally Posted by JSWolf
Code:
body {
font-family: "minya";
font-size: 100%;
}
That's all you need. When you make the text italic or bold, it will use the correct font style.
|
What I had had before was this...
Code:
html>body {
font-family: minya, 'Times New Roman', Times, serif;
font-size: 124%;
}
body {
font-family: minya, 'Times New Roman', Times, serif;
font-size: 100%;
line-height: 138%;
}
I actually have no idea now why I included the "html>body..." part (and yes, I also just noticed that my font-sizes don't match -- oops!), but I'm sure I must have gotten that "recommendation" from these forums at some point, i.e. to include both the "body" specs in one CSS as well as "html>body" -- but don't ask me why, though, all I know is that I did that because someone, somewhere, told me to do it that way.
Either way, it certainly doesn't
hurt to include both, does it (and then also the font-family attributes for <p>, of course)?