Laura Brady

Here is a hack that I use in cases like this: I put a period after the number but put it in a span with a class of hidden. And then assign display:none; CSS to that class.

Your code example would be:

<section epub:type=”chapter” role=”doc-chapter” aria-labelledby=”ch02″>
<h2 id=”ch02″ class=”chaptitle”><span id=”page_18″ aria-label=” Page 18. ” epub:type=”pagebreak” role=”doc-pagebreak”/><span class=”chnum”>Two<span class=”hidden”>.</span></span> <span class=”ctitle”>I Wanna Dance!</span></h2>

Try it and let us know how it sounds.

a wooden table with a white keyboard on top, and a persons hand writing on a piece of paper

View our current resources