|11-05-2010, 05:51 PM||#1|
Join Date: May 2009
Location: Vancouver, BC
Device: nook*, nexus 10
I got a few books recently, and I realized that the chapters do not have a separation when there is a change of scene. Looking at the Epub source, I see that the source has a <br /> in those places, however the reader (nook) or the desktop reader (Adobe Digital Editions) do not care about that <br />. Sigil, on the other hand, respects it.
This is a sniped of the code in question:
<p class="para1"><span>He nodded. “Why not? We’ve all got to pay the piper sometime, don’t we?” He frowned as the music swelled to even more infuriating levels. “Or in this case, the damned balalaika player.”</span></p><br />
|11-05-2010, 07:32 PM||#2|
Join Date: Sep 2009
The <br /> tag is an inline element and cannot be placed outside block elements. Faking it by wrapping everything in a div isn't a solution. The epub is badly coded.
In Sigil, select
<br /> [linebreak] <p class="para1">
press Ctrl-H and put <p class="parabrk"> in the replace box and press replace all. Then add
to the css.
|Thread Tools||Search this Thread|
|Thread||Thread Starter||Forum||Replies||Last Post|
|Paragraph breaks||thedevilsjester||Calibre||2||09-07-2010 01:26 PM|
|Paragraph spacing||jhempel24||Calibre||5||08-24-2010 01:14 AM|
|LRF paragraph problem||qq67||Calibre||4||03-09-2010 07:40 AM|
|Paragraph question||shrktank||Calibre||2||11-29-2009 01:07 AM|
|What is so unusual about this paragraph?||Madam Broshkina||Lounge||11||04-24-2008 04:04 PM|