View Single Post
Old 09-01-2020, 10:14 AM   #1
owl-sorcerer
Junior Member
owl-sorcerer began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Aug 2020
Device: none
Formatting issues

Hi,

I have an EPUB with entries like this:

<div class="entry">
<p>
<span class="entryname" id="id123">Object name.</span>
</p>
<div class="sense">
<p>Definition</p>
</div>
</div>

I am converting it to docx and I have some formatting issues.

Sometimes my source is prettyprinted so there is a new line before "Object name". It seems to translate into a space in the docx. Is there a way to avoid this?

I also have some css like the one I paste below to create indents but the indents are lost. Is there any way to keep them?

Thanks in advance.

.entry {
color: #000;
display: block;
font-family: Times New Roman, serif;
line-height: 100%;
margin-bottom: 0;
margin-left: 0;
margin-right: 0;
margin-top: 1.5em;
orphans: 2;
text-align: justify;
widows: 2
}
.sense {
margin-bottom: 0;
margin-left: 1em;
margin-right: 0;
margin-top: 0;
}
p {
margin-bottom: 0;
margin-left: 0;
margin-right: 0;
margin-top: 0.5em;
}
owl-sorcerer is offline   Reply With Quote