bell notificationshomepageloginedit profileclubsdmBox

10% popularity   0 Reactions

If you want to stick with EPUB, you can save space by giving each tone a class with a short name and defining the class's color in the CSS. So the example you gave would look something like this:

<span class="a"> 今 </span>

The CSS file, named something like stylesheet.css, would define the class like this:

span.a {
color: #64B4FF
}

You'd need to add a link to the stylesheet in the head element of each HTML file like this:

<link href="stylesheet.css" type="text/css" rel="stylesheet"/>

The path in href is relative, and this example assumes stylesheet.css is in the same directory as the HTML file.

I don't know if this approach will save enough space to speed up highlighting and dictionary lookups, but it's something to try.


Free books android app tbrJar TBR JAR Read Free books online gutenberg


Load Full (0)

Login to follow story

More posts by @Angie

0 Comments

Sorted by latest first Latest Oldest Best

 

Back to top