I don't think "display: none", or "visibility: hidden" are supported in the mobi format. In fact, css isn't supported in the mobi format at all. Now that's not to say that the kindlegen conversion process can't massage certain css input into mobi-compliant markup, but I know of no mobi markup (which is essentially HTML 3.2) that will create hidden text that's still searchable. In all likelihood, "display: none" (as well as "visibilty: hidden") will simply cause the text to be left out of the mobi markup entirely after conversion. In short: I strongly suspect that invisible text that can still be searched is simply not possible in the older mobi-only format. But I could be wrong. Is an img tag's alt text searchable in mobi?
Last edited by DiapDealer; 03-21-2017 at 11:28 AM.
|