View Single Post
Old 12-28-2013, 10:01 AM   #2
Katsunami
Grand Sorcerer
Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.
 
Katsunami's Avatar
 
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;
}
Then designate the parts you want to have a different color:

<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.
Katsunami is offline   Reply With Quote