Quote:
Originally Posted by JSWolf
That code snippit you posted is poor form. You don't need all that mess. That mishmash of classes is what's causing the problem.
Here is some neat code.
body {
widows: 1;
orphans: 1;
margin-top: 0;
margin-bottom: 0;
margin-left: 0;
margin-right: 0;
text-align: justify;
}
p {
margin-top: .3em;
margin-bottom: 0;
text-indent: 1.2em
}
.noindent {
text-indent: 0;
}
<p class="noindent">Start of the text</p>
<p>Some text</p>
<p>Some more text</p>
<p>Even more text but <i>some are in italics</i></p>
Now notice that you are getting a .3em paragraph space without the crud. All you have to do is change the margin in <p> in order to change the space.
|
Thank you very much for your time! I'm not sure I understand all of it, but I do my best, and it's far more interesting than I thought in the first place. (Which is actually a bit scary since I didn't have any intentions of learning this.

)
I wonder if I could ask a somewhat related question here ... I had a line of text that included empty spaces, like: "asdfkl sdfkjsdfl," but the spaces disappeared somewhere between InDesign and Calibre.
Is there any way of adding empty spaces between two characters? It's not the end of the world if it can't be done; it would just be nice.
As a work-around, I tried to change the text color into white, but then I realized I would need two styles within one line, because some characters would need to remain black, and I couldn't figure out how to do that. (Also, I assume that some people might read the book in some kind of reverse 'night-mode' which would expose my 'invisible' characters as white nonsense...)