|12-31-2010, 02:02 PM||#1|
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:
<div class="calibre4"> <span class="calibre9"><br class="calibre4"/></span> </div> <div class="calibre4"> <span class="calibre9"><br class="calibre4"/></span> </div>
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.
|12-31-2010, 06:24 PM||#2|
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2
Try putting a space in front of the /. I think <br /> is correct. Try it without the class part.
|01-01-2011, 04:56 AM||#3|
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
But really, use margins instead.
|01-01-2011, 05:31 AM||#4|
Join Date: Dec 2010
Margins and paddings are the better way, espacially when they are applied to html-elements.
Sometimes some room is wanted only in special cases, just use
|01-01-2011, 09:46 AM||#5|
Well trained by Cats
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Astak Pocket Pro, K4NT,Galaxy Tab 2
<br /> is useful when NO room (paragraph spacing/controlled split line Headings(Sigil uses headings in the TOC. Split-line means the TOC reads as 1 item, not 2+)) is wanted when starting a new line
|Thread Tools||Search this Thread|
|Thread||Thread Starter||Forum||Replies||Last Post|
|Sony PRS 350 or Kobo?||Fayth||Which one should I buy?||11||01-06-2011 06:03 PM|
|New Sony PRS 350 User||jacksond||Introduce Yourself||12||12-03-2010 02:17 AM|
|Sony PRS-350 and PRS-650||thymaster||Sony Reader||68||09-17-2010 10:44 PM|
|Errors in ePub Created in Sigil||FlooseMan Dave||Sigil||12||08-25-2010 08:01 PM|