View Single Post
Old 01-17-2012, 07:29 PM   #38
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,171
Karma: 16228536
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
Quote:
Originally Posted by snarkophilus View Post
Code:
@font-face{ font-family: %s; font-style:normal; font-weight:normal; src: url(%s);}
@import url(res:///ebook/fonts/../../mnt/sdcard/css/my.css);
@Morkl,

Just a FYI. If you do plan on using @import to provide the custom CSS feature then I believe it needs to be the first thing in any internally generated CSS file, i.e. all @import rules come before any @font-face rules.
jackie_w is offline   Reply With Quote