Quote:
Originally Posted by jackie_w
... it's quite possible that the font-family: serif; line is redundant as all the ereaders I've owned seem to use font-family: serif as the epub default in the absence of more specific css.
|
I just tested this and you're right! If you use
@font-face { font-family: serif; ...
} you don't need to include
body {font-family: serif}
I like this very much as it leaves the css cleaner and more universal, less likely to cause problems if you want to read the same epub on other devices. Also, I didn't realize using the generic "serif" will let you switch fonts on the T1. Very nice! Thanks for so many tips, jackie_w!
P.S. re:
Quote:
I always put the @font-faces at the beginning of the .css file (but I'm not sure whether this is important)
|
FYI, I don't think it matters. I always put the @font-faces at the end, and it still works.