Quantcast
Channel: MobileRead Forums - Conversion
Viewing all articles
Browse latest Browse all 3902

How to write fraction value using html?

$
0
0
Hello forum

Im using the code ⁄ to generate a fraction with HTML in Calibre, its working fine in the preview mode (picture 2) but not the final EPUB-file. The code is (picture 1):

Code:

<p class="rightalm"><span style="font-size:70%;"><sup>7</sup>&frasl;<sub>3</sub></span> 1911.</p>
I get this error:

“This page contains the following errors: error on line 88 at column 69: Entity 'frasl' not defined Below is a rendering of the page up to the first error.” (picture 3)

Any idea what is wrong? and how to solve the problem so I can display the fraction symbol?

Regards Dan

Attached Thumbnails
Click image for larger version

Name:	1.jpeg
Views:	N/A
Size:	36.0 KB
ID:	165169   Click image for larger version

Name:	2.jpeg
Views:	N/A
Size:	7.8 KB
ID:	165170   Click image for larger version

Name:	3.jpeg
Views:	N/A
Size:	96.1 KB
ID:	165171  

Viewing all articles
Browse latest Browse all 3902

Trending Articles