View Single Post
Old 09-07-2013, 06:49 PM   #1
Julius Caesar
Addict
Julius Caesar ought to be getting tired of karma fortunes by now.Julius Caesar ought to be getting tired of karma fortunes by now.Julius Caesar ought to be getting tired of karma fortunes by now.Julius Caesar ought to be getting tired of karma fortunes by now.Julius Caesar ought to be getting tired of karma fortunes by now.Julius Caesar ought to be getting tired of karma fortunes by now.Julius Caesar ought to be getting tired of karma fortunes by now.Julius Caesar ought to be getting tired of karma fortunes by now.Julius Caesar ought to be getting tired of karma fortunes by now.Julius Caesar ought to be getting tired of karma fortunes by now.Julius Caesar ought to be getting tired of karma fortunes by now.
 
Posts: 346
Karma: 1510042
Join Date: Oct 2012
Device: Kindle Paperwhite
Warning due to nested p class

Kindlegen gives me a warning "Forcefully closed opened Tag" because I have a nested p class.

<p class="chapterOpenerText">First sentence.<p class="centerImage"><img src="../Images/image00139.jpeg" alt="43.jpg"/></p>Second sentence.</p>


I could eliminate the warning by moving the image down.

<p class="chapterOpenerText">First sentence. Second sentence.</p>
<p class="centerImage"><img src="../Images/image00139.jpeg" alt="43.jpg"/></p>


But that's not what I want to do. How do I eliminate the warning without putting the image at the end? I could do this I guess:

<p class="chapterOpenerText">First sentence.</p><p class="centerImage"><img src="../Images/image00139.jpeg" alt="43.jpg"/>Second sentence.

But I don't want to do that either. Second sentence must belong to the <p class="chapterOpenerText">
Julius Caesar is offline   Reply With Quote