04-18-2018, 02:16 PM | #1 |
Member
Posts: 23
Karma: 10
Join Date: Apr 2018
Device: None
|
Empty paragraph spaces disappear - MsWord to epub
In MsWord I have a list of review comments separated by empty paras. In epub the comments appear one on top of the other (the between spaces disappear). Is there a way to declare an empty space (para)?
|
04-18-2018, 02:21 PM | #2 |
Book E d i t o r
Posts: 432
Karma: 288184
Join Date: May 2015
Device: Laptop
|
In the .css file, add or change the numbers for the margin-top and margin-bottom codes to 1em each (or however much space you want between the paragraphs). An example is below. I used "paragraph" for the paragraph text, so find the class that's being used in your ePub file for the paragraphs and look for that class in the .css file and add the two lines below.
.paragraph { margin-top: 1em; margin-bottom: 1em; } |
Advert | |
|
04-18-2018, 02:35 PM | #3 |
Member
Posts: 23
Karma: 10
Join Date: Apr 2018
Device: None
|
Unfortunately, I know nothing about coding CSS.
That said, I don't want such empty spaces appearing after/before every para -- just in this 'section'. Do I now have to define MSWord doc as a 'section', and then get the CSS to see it (and only it) that way? |
04-18-2018, 04:18 PM | #4 |
Member
Posts: 23
Karma: 10
Join Date: Apr 2018
Device: None
|
Interesting -- if I put the spaces between paras in a column in a table, they are preserved.
|
04-18-2018, 06:51 PM | #5 |
null operator (he/him)
Posts: 20,572
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
@Denwayz - I recommend you do not use empty paragraphs to get vertical spacing, use before and/or after spacing in Word's Paragraph options, preferably via a named Style.
And that's a general recommendation, nothing to do with HTML, or ePub, I make the same recommendation if the document is to end up as ink on paper. A word processor (Writer, Word, Wordperfect etc) should not be treated like a glorified typewriter BR |
Advert | |
|
04-18-2018, 07:44 PM | #6 | |
Member
Posts: 23
Karma: 10
Join Date: Apr 2018
Device: None
|
Quote:
########## "A wonderful read!" -- Julian Asskick "Complete tripe!" -- Katerina Asskick (wife of Julian) "Oh, for God's sake, you two -- get a room!" -- (Name withheld) Asskick (child of Julian & Katerina) ########## The natural action is simply to leave an extra para between each review comment. One could certainly create two styles -- ReviewComments and NameOfReviewer, the second with defined points after, but it is counter-intuitive. I wanted to learn about the converter so as to adjust to it. As it happens, this problem went away when I put all of the review text in a column. So this thread is now closed as far as I am concerned. Last edited by Denwayz; 04-18-2018 at 08:14 PM. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Empty line between paragraph in epub on Pocketbook 626 | nickie_twisp | Calibre | 2 | 11-30-2014 12:59 PM |
Convert from PDF to ePub puts paragraph spaces | mkelley | Conversion | 17 | 01-02-2012 07:48 AM |
Paragraph spaces in ePub to Mobi conversion disrupts indent formatting | markpearl | Conversion | 34 | 09-21-2011 02:42 PM |
Huge Sentence and Paragraph Spaces EPub to Mobi | Dasha | Amazon Kindle | 10 | 06-06-2011 06:43 PM |
Paragraph indendation or spaces? | enarchay | Sony Reader | 0 | 05-28-2009 05:18 AM |