11-10-2010, 08:54 AM | #1 |
Groupie
Posts: 184
Karma: 2572
Join Date: Aug 2010
Device: Kindle
|
Ragged right / space between paragraphs
How can I write a simple stylesheet that will fix these two problems throughout my Sigil epub file? The right margin is ragged and there's a blank space between every paragraph.
The file has no stylesheet as such. Instead there's a lengthy one beginning each section, mostly given over to the endnotes. There are only a few sections, so I can easily add to this instead of creating an overall stylesheet. Alternately I can start again by opening the html file, this time with a proper stylesheet in the folder. What ought the stylesheet contain? I am most anxious that I do not destroy my endnote links in so doing. (I don't mind if I wind up with endnotes at the end of each section instead of the end of the book.) Thanks! |
11-10-2010, 01:45 PM | #2 |
Guru
Posts: 657
Karma: 64171
Join Date: Sep 2010
Location: Kent, England, Sol 3, ZZ9 plural Z Alpha
Device: Sony PRS-300, Kobo Aura HD, iPad (Marvin)
|
For the ragged right margin, add this to style sections of the files you want a right justified border.
Code:
body {text-align:justify;} |
Advert | |
|
11-10-2010, 03:00 PM | #3 |
Groupie
Posts: 184
Karma: 2572
Join Date: Aug 2010
Device: Kindle
|
Thanks.
|
11-10-2010, 04:24 PM | #4 |
Created Sigil, FlightCrew
Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
|
For the space-between-paragraphs problem, see this entry in the FAQ.
|
11-11-2010, 09:32 AM | #5 |
Groupie
Posts: 184
Karma: 2572
Join Date: Aug 2010
Device: Kindle
|
Thanks again!
|
Advert | |
|
11-11-2010, 07:59 PM | #6 |
Connoisseur
Posts: 88
Karma: 60
Join Date: Oct 2010
Device: ProMedia eReader, Sony PRS-600
|
I noticed not all readers support the justify alignment
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Is there any way to remove space between paragraphs? | kabloooie | Calibre | 6 | 11-03-2010 08:32 AM |
Can't get calibre to *not* put space between paragraphs | lunixer | Calibre | 8 | 09-11-2010 10:23 PM |
How to reduce indents without "removing space between paragraphs" | Skydog | Calibre | 5 | 06-05-2010 12:58 AM |
remove space between paragraphs-yes the box is checked | Blurr | Calibre | 1 | 12-23-2009 06:34 AM |
Unwanted space between paragraphs | superanima | Calibre | 3 | 10-14-2009 02:28 PM |