View Single Post
Old 07-01-2012, 11:16 PM   #1
_savage
Connoisseur
_savage began at the beginning.
 
_savage's Avatar
 
Posts: 53
Karma: 10
Join Date: Jul 2012
Location: Seattle, USA
Device: Nook
CSS ignored in .mobi (on Kindle)

Hi,

I've spent the last few days putting together an eBook in .epub format which renders just fine on my Nook. In order to make it available for Kindle I used this website and it seems to do a decent enough job. (Turns out that the latest kindlegen (V2.4 build 69900, link) completely breaks the encoding of some of the Pali letters, and also bloats the final .mobi file to twice the size of the original .epub file, even with -c2 compression.)

However In my .epub I used HTML quote tags like so
Code:
<q class="bla">This is a quote.</q>
and I style them as follows
Code:
q {
  quotes: none;
}
q.bla {
  font-style: italic;
}
I explicitly do not want to have quotation marks of any sort around the quote! While this works fine on my Nook and in a web browser, it seems that a 2 year old Kindle still puts quotation marks around these quotes.

Another issue are unordered bullet lists. Again, I style them to disable the bullets altogether
Code:
ul.toc {
  list-style: none;
}
only to find that my table of content
Code:
<ul class="toc">
  <li> <a href="foreword.html">Foreword</a></li>
  ...
</ul>
does render with bullets on that same Kindle.

How can I get rid of both, the quotation marks and the bullets; or is this a Kindle specific issue?

Thanks!
_savage is offline   Reply With Quote