Does anyone here know if the CSS property display: none is supported by all ereaders?
Let me explain why I'm asking...
I'm turning a 500-page book that's in the public domain into an ebook. The index is 40 pages of fine print. Now that I've finished typing it up, the hard work begins - linking all those entries, all of which are linked to page numbers in the original book.
Then I figured out a way to automate it to some extent. I simply find the place in my text where page 33 begins in the original book and change the following...
<p>California was the first...
to this...
<p><span class="PageNumber">33</span>California was the first...
I can then give class a PageNumber a style that makes it really stand out, so I can see where all the original pages begin and end.
When I'm finished with my index, I can then change the style to display: none. The page numbers will still be there, serving as anchors, but readers won't see anything at all.
I know that more advanced CSS isn't supported by all ereaders, but I think display: none is an older, more established style. I just wondered if this strategy could create problems.