View Single Post
Old 06-27-2011, 03:53 AM   #11
kartu
PRS+ author
kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.
 
Posts: 1,637
Karma: 2446233
Join Date: Dec 2007
Device: Sony PRS-300, 505, 600, 650, 950
The only right way to override fonts in my opinion is:

Code:
@font-face
{
        font-family: sans-serif;
        src:url(res://....);
}
@font-face
{
        font-family: serif;
        src:url(res://...);
}
@font-face
{
        font-family: monospace;
        src:url(res://...);
}
As this way you don't have to mess with CSS selectors.

Custom CSS works in all books, but some might have style that overrides yours, which is a generic CSS "issue". Check this:
Understanding the selectors priority
kartu is offline   Reply With Quote