View Single Post
Old 12-31-2010, 02:02 PM   #1
PatNY
Zennist
PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.
 
PatNY's Avatar
 
Posts: 1,022
Karma: 47809468
Join Date: Jul 2010
Device: iPod Touch, Sony PRS-350, Nook HD+ & HD
Sigil-created code not honored by Sony PRS-350 :(

I have an epub for which I manually inserted line breaks into each chapter using Sigil to get some extra space between chapter headings and body text. I usually do this via margin-top, margin-bottom, or padding instructions in the stylesheet. However in this case, the manual breaks were working out better (or so I thought).

Well the spacing shows up fine in both Calibre's viewer and in Stanza on my iPod Touch. But my Sony PRS-350 just ignores it! I have no clue why. The code sigil inserted looks like this:

Code:
<div class="calibre4">
    <span class="calibre9"><br class="calibre4"/></span>
  </div>

  <div class="calibre4">
    <span class="calibre9"><br class="calibre4"/></span>
  </div>
Since the spacing shows up fine in both Calibre and Stanza, I'm assuming it's just some quirk in the Sony readers, which I've noticed don't always follow the same rules as Calibre and Stanza. (For example, Sony readers will not honor "center" instructions if the word is in all caps but Calibre will.)

Anyone have a clue why the Sony reader is ignoring this code so I can avoid it in the future? I doubt I will go change all the chapters for the epub in question but I'd like to know what to avoid going forward.
PatNY is offline   Reply With Quote