View Single Post
Old 08-11-2020, 09:07 AM   #2
pdurrant
The Grand Mouse 高貴的老鼠
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 74,274
Karma: 317184274
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Oasis
You would need to mark up the text, putting every character into its own span

<span class="L">L</span><span class="I">i</span><span class="K">k</span><span class="E">e</span> <span class="T">t</span><span class="H">h</span><span class="I">i</span><span class="S">s</span>.

and then have CSS assigning colors to the classes

span.A { color : rgb(0,0,255); }
span.B { color : rgb(0,255,0); }
span.C { color : rgb(255,0,0); }
etc.

It will increase the size of the book a lot!
pdurrant is online now   Reply With Quote