Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 11-10-2010, 09:54 AM   #1
Oldpilot
Groupie
Oldpilot plays well with othersOldpilot plays well with othersOldpilot plays well with othersOldpilot plays well with othersOldpilot plays well with othersOldpilot plays well with othersOldpilot plays well with othersOldpilot plays well with othersOldpilot plays well with othersOldpilot plays well with othersOldpilot plays well with others
 
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!
Oldpilot is offline   Reply With Quote
Old 11-10-2010, 02:45 PM   #2
Perkin
Guru
Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.
 
Perkin's Avatar
 
Posts: 655
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;}
Perkin is offline   Reply With Quote
 
Advertisement
Old 11-10-2010, 04:00 PM   #3
Oldpilot
Groupie
Oldpilot plays well with othersOldpilot plays well with othersOldpilot plays well with othersOldpilot plays well with othersOldpilot plays well with othersOldpilot plays well with othersOldpilot plays well with othersOldpilot plays well with othersOldpilot plays well with othersOldpilot plays well with othersOldpilot plays well with others
 
Posts: 184
Karma: 2572
Join Date: Aug 2010
Device: Kindle
Thanks.
Oldpilot is offline   Reply With Quote
Old 11-10-2010, 05:24 PM   #4
Valloric
Created Sigil, FlightCrew
Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.
 
Valloric's Avatar
 
Posts: 1,978
Karma: 350515
Join Date: Feb 2008
Device: Sony Reader PRS 505
For the space-between-paragraphs problem, see this entry in the FAQ.
Valloric is offline   Reply With Quote
Old 11-11-2010, 10:32 AM   #5
Oldpilot
Groupie
Oldpilot plays well with othersOldpilot plays well with othersOldpilot plays well with othersOldpilot plays well with othersOldpilot plays well with othersOldpilot plays well with othersOldpilot plays well with othersOldpilot plays well with othersOldpilot plays well with othersOldpilot plays well with othersOldpilot plays well with others
 
Posts: 184
Karma: 2572
Join Date: Aug 2010
Device: Kindle
Thanks again!
Oldpilot is offline   Reply With Quote
Old 11-11-2010, 08:59 PM   #6
LGN
Connoisseur
LGN is on a distinguished road
 
Posts: 88
Karma: 60
Join Date: Oct 2010
Device: ProMedia eReader, Sony PRS-600
I noticed not all readers support the justify alignment
LGN is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there any way to remove space between paragraphs? kabloooie Calibre 6 11-03-2010 09:32 AM
Can't get calibre to *not* put space between paragraphs lunixer Calibre 8 09-11-2010 11:23 PM
How to reduce indents without "removing space between paragraphs" Skydog Calibre 5 06-05-2010 01:58 AM
remove space between paragraphs-yes the box is checked Blurr Calibre 1 12-23-2009 07:34 AM
Unwanted space between paragraphs superanima Calibre 3 10-14-2009 03:28 PM


All times are GMT -4. The time now is 03:30 PM.


MobileRead.com is a privately owned, operated and funded community.