Trying to highlight a piece of text as italic for an epub document (for reading on a Sony Reader)
As no italic style exists, should the following work? Adding
to the style sheet and amending the text in the html document to
<p class="p_normal_italic">Annwyl Non</p>
<p class="p_normal">Wedi i mi ddarllen</p>
<p class="p_normal">Annwyl Non</p>
This is the code generated and here is the style.css document<p class="p_normal">Annwyl Non</p>
.center { text-align: center; text-indent: 0em; }
.right { text-align: right; }
.toc_heading { text-align: center; margin-top: 20pt; margin-bottom: 20pt; }
.p_normal {text-indent: 10mm; margin-top: 5pt; margin-bottom: 5pt;}
.p_toc { text-indent: 10mm; margin-top: 10pt; margin-bottom: 10pt;}
.right { text-align: right; }
.toc_heading { text-align: center; margin-top: 20pt; margin-bottom: 20pt; }
.p_normal {text-indent: 10mm; margin-top: 5pt; margin-bottom: 5pt;}
.p_toc { text-indent: 10mm; margin-top: 10pt; margin-bottom: 10pt;}
As no italic style exists, should the following work? Adding
.p_normal_italic {font-weight: bold; text-indent: 10mm; margin-top: 5pt; margin-bottom: 5pt;}
to the style sheet and amending the text in the html document to
<p class="p_normal_italic">Annwyl Non</p>