Quote:
Originally Posted by dgatwood
Any @import rules must be at the top, if you use them. But that's not true for any other at rules, and in fact, most folks put @font rules at the bottom of the stylesheet to keep them out of their way.
With that said, ADE sometimes barfs on certain @ rules. If you encounter that behavior, try moving them to a separate CSS file so that ADE's parsing failure won't cause the rest of your CSS to be ignored.
Also, in the copy of the EPUB book that I looked at, the jump links did nothing because the destination didn't exist (or at least not in the same file—remember that it's just like a website—a link without a URL part links elsewhere in the same HTML/XHTML file, not to arbitrary parts of the book as a whole). I'm assuming you've fixed that?
|
I've seen a lot of publishers put the @font in the middle of the CSS. I put the @font at the top as it's easy to just scroll past and ignore. After the @font section comes body and then p.