07-16-2013, 06:10 PM | #1 |
Wizard
Posts: 2,409
Karma: 4132096
Join Date: Sep 2008
Device: Kindle Paperwhite/iOS Kindle App
|
How do I get a double space between paragraphs?
I am trying to get some personal documents edited for reading on the Kobo. I am driving myself crazy trying to get it to double-space in between sections. What I want is something that looks like this:
Paragraph 1 *** New paragraph So in between the two paragraphs, a break with double space all around it, exactly as it looks above. I do this using the WYSIWYG editor and it looks fine. On my iPad in iBooks it looks fine. On the Kobo, it looks like this: Paragraph 1 *** New Paragraph I have tried every trick I can think of (given my limited skill) and it just is not coming out ok. My boyfriend is a programmer and he says that the extra <br> code should make it break. But it just isn't. This seems like it should be such a simple thing to do and since it looks fine on the iPad I am wondering what gives. What can I do to fix this so it looks ok on the Kobo? I have several more files to fix and want them all looking the same. |
07-16-2013, 06:39 PM | #2 |
A curiosus lector!
Posts: 463
Karma: 2015140
Join Date: Jun 2012
Device: Sony PRS-T1, Kobo Touch
|
ficbot
You can try this: Code:
p { ....; margin-bottom: 1em; ...; } |
07-16-2013, 06:39 PM | #3 |
Well trained by Cats
Posts: 29,817
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
I create a 'scenebreak' class with the desired margins-top,margins-bottom (as well as no indent and center)
Code:
<p class="scenebreak">* * *</p> |
07-16-2013, 06:52 PM | #4 |
Wizard
Posts: 2,409
Karma: 4132096
Join Date: Sep 2008
Device: Kindle Paperwhite/iOS Kindle App
|
|
07-16-2013, 07:04 PM | #5 | |
Wizard
Posts: 1,551
Karma: 6613969
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
|
Quote:
Code:
.scenebreak { margin: 2em 0; /* here instead of 2em you can use others values at your will */ text-indent: 0; text-align: center; } Code:
<p>Your Paragraph 1...</p> <p class="scenebreak">* * *</p> <p>Your New Paragraph...</p> Regards Rubén Last edited by RbnJrg; 07-16-2013 at 07:07 PM. |
|
07-17-2013, 01:19 AM | #6 |
Wizard
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
Some readers will ignore empty lines, wether it is <br /> or <p></p>. That is the reason most people use margins or <p> </p>.
|
07-17-2013, 08:28 AM | #7 |
Well trained by Cats
Posts: 29,817
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
And many will ignore 2+ in a row
so will use <br /> <br /> instead of <br /> <br /> |
07-17-2013, 09:12 PM | #8 |
Wizard
Posts: 2,409
Karma: 4132096
Join Date: Sep 2008
Device: Kindle Paperwhite/iOS Kindle App
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Create a space between some paragraphs | Elle518 | ePub | 17 | 04-12-2012 04:21 PM |
expression to remove double spacing between paragraphs | ktj | Calibre | 4 | 07-26-2011 02:38 PM |
space between paragraphs | gatorman | Sigil | 3 | 01-07-2011 10:17 AM |
Ragged right / space between paragraphs | Oldpilot | Sigil | 5 | 11-11-2010 07:59 PM |
Is there any way to remove space between paragraphs? | kabloooie | Calibre | 6 | 11-03-2010 08:32 AM |