I can't quite give up on this yet. Sans-serif is honored in iBooks but not in Kindle.
I started with <p class="caption"> Caption</p> and font-family set to sans-serif. No go. I next changed p.caption to h1 giving me <h1>Caption</h1> with the font-family still set to sans-serif. Nothing. I then changed from simple font-family: sans-serif to font-family: Helvetica, sans-serif. Nada. I tried SigilBear's suggestion by removing the font-family from h1 and tried with this: <h1><span style="font-family: Helvetica, sans-serif">Caption</span></h1> and that didn't work. As I said earlier, I can live with this quirk but I am still looking for an answer (if there is one) in case I ever do have to have the caption or some other text be sans-serif regardless of the font selected by the reader. Any additional thoughts will be appreciated.
|