View Single Post
Old 08-18-2021, 01:41 PM   #10
rsuchwani
Enthusiast
rsuchwani ought to be getting tired of karma fortunes by now.rsuchwani ought to be getting tired of karma fortunes by now.rsuchwani ought to be getting tired of karma fortunes by now.rsuchwani ought to be getting tired of karma fortunes by now.rsuchwani ought to be getting tired of karma fortunes by now.rsuchwani ought to be getting tired of karma fortunes by now.rsuchwani ought to be getting tired of karma fortunes by now.rsuchwani ought to be getting tired of karma fortunes by now.rsuchwani ought to be getting tired of karma fortunes by now.rsuchwani ought to be getting tired of karma fortunes by now.rsuchwani ought to be getting tired of karma fortunes by now.
 
Posts: 38
Karma: 2136220
Join Date: May 2012
Device: iPad, Kindle, Android
Quote:
Originally Posted by RbnJrg View Post
Try suppresing the <br/> tags and, to force a new line, use the property "display: block". For example:

You have something like (watch the text in red):

Code:
<li class="darw">ist <span class="chelsa-gem">eine Ärztin / ein Arzt</span> in den Folgetagen zu konsultieren.<br/><span class="fs-s" style="display: block">Im Moment keine Gefahr, aber es ist abzuklären ob eine Allergie vorliegt, zwecks Abgabe von Notfallmedikamenten wie Epipen bei einem späteren Stich. (Elternwissen).</span></li>
Remove the <br/> tag so that you have the following (watch the text in red):

Code:
<li class="darw">ist <span class="chelsa-gem">eine Ärztin / ein Arzt</span> in den Folgetagen zu konsultieren.<span class="fs-s" style="display: block">Im Moment keine Gefahr, aber es ist abzuklären ob eine Allergie vorliegt, zwecks Abgabe von Notfallmedikamenten wie Epipen bei einem späteren Stich. (Elternwissen).</span></li>
Of course, instead of styling inline, you can create a class like:

Code:
.block {
   display: block;
}
and to employ it as follow:

Code:
<li class="darw">ist <span class="chelsa-gem">eine Ärztin / ein Arzt</span> in den Folgetagen zu konsultieren.<span class="fs-s block">Im Moment keine Gefahr, aber es ist abzuklären ob eine Allergie vorliegt, zwecks Abgabe von Notfallmedikamenten wie Epipen bei einem späteren Stich. (Elternwissen).</span></li>
I think that the <br/> tags could be the cause of your issues.

Regards

I've replaced <br/> with the 'block' element but the result is the same. I've attached the sample ePub below with the complete CSS, maybe you can find something which is causing this issue?
rsuchwani is offline   Reply With Quote