View Single Post
Old 09-04-2014, 10:06 AM   #13
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 80,128
Karma: 148951761
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by dgatwood View Post
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.

Last edited by JSWolf; 09-09-2014 at 12:52 PM.
JSWolf is offline   Reply With Quote