12-28-2013, 09:32 AM | #1 |
Member
Posts: 11
Karma: 10
Join Date: Dec 2013
Device: Android
|
editing a book, more than one colored font?
Hi im creating a walkthur for a game.
ive changed some of the sentences (using calibre editor)to blue or red colors using the built in html codes. I cant seem to get my (moon+ reader) to recognize the different colors. should i be using css or is this normal and different colored fonts cant actually be used. Thanks Steve |
12-28-2013, 10:01 AM | #2 |
Grand Sorcerer
Posts: 6,111
Karma: 34000001
Join Date: Mar 2008
Device: KPW1, KA1
|
You can use this in the CSS file:
Code:
.color1 { color: #FF0000; } .color2 { color: #00FF00; } .color3 { color: #0000FF; } <p> ... </p> will be default. <p class="color1"> ... </p> will be red. <p class="color2"> ... </p> will be green. <p class="color3"> ... </p> will be blue. If this works in Calibre's preview, then you have done everything correctly; if it doesn't work in Moon Reader, it may be ignoring font colors. Last edited by Katsunami; 12-28-2013 at 11:37 AM. |
Advert | |
|
12-28-2013, 11:10 AM | #3 | |
Well trained by Cats
Posts: 29,942
Karma: 55705602
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
Stylesheet: Code:
color: blue; background: white; border-color: red; all valid |
|
12-28-2013, 11:51 AM | #4 |
Color me gone
Posts: 2,089
Karma: 1445295
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
|
Browser like devices, including calibre's viewer, are much more tolerant of errors than actual devices or readers. The rules are also not the same epub vs. web pages.
|
Tags |
fonts, moon + |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Moon+ Reader (settings to show colored font) | 20Gt | Android Devices | 0 | 12-27-2013 07:57 PM |
Mini advanced font settings ignored in one book - embedded font? | lordofazeroth | Kobo Reader | 4 | 09-20-2013 02:15 PM |
Touch Change font by editing ePub CSS | ExOblivione | Barnes & Noble NOOK | 8 | 12-25-2012 12:48 AM |
Editing a book | dvd8n | Library Management | 6 | 03-14-2011 05:07 PM |
HELP: any way to use a strike-out font when editing posts? | nrapallo | Feedback | 7 | 03-03-2011 03:23 PM |