View Single Post
Old 03-19-2022, 01:25 AM   #7
iamabitbuddha
Junior Member
iamabitbuddha began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Mar 2022
Device: None
@Turtle91 your code suggestion worked.

Bless you, KevinH and Turtle91! Thank you so much. it worked!

@KevinH, I had googled for the multi level lists and did apply the code. Although all was good the Sigil popped errors in EPUBcheck. This is what I had added:

<ul>
<li>Line-1</li>
<li>Line-2</li>
<li>Line-3

<p></p>

<ol style="list-style-type: lower-alpha; padding-left: 0;">
<li style="margin-left:2em">Sub-Line-1</li>
<li style="margin-left:2em">Sub-Line-2</li>
<li style="margin-left:2em">Sub-Line-3</li>
</ol>

<p></p>

</li>

<li>Line-1</li>
<li>Line-2</li>
<li>Line-3

<p></p>

<ol style="list-style-type: lower-alpha; padding-left: 0;">
<li style="margin-left:2em">Sub-Line-1</li>

</ol>

<p></p>

</li>

<li>Line-1</li>
<li>Line-2</li>
<li>Line-3</li>


</ul>


-----------------------------------------------------------------------------------

@Turtle91 this code below worked and now I don't see errors except the one at the end of this message.

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<style type="text/css">
.lvl1 {list-style-type: decimal}
.lvl2 {list-style-type: lower-alpha}
.lvl3 {list-style-type: lower-roman}
.lvl1 li {margin-top:1.5em}
.lvl2 li {margin-top:.5em}
.lvl3 li {margin-top:.5em}
</style>
</head>

<body>
<ol class="lvl1">
<li>Fruits
<ol class="lvl2">
<li>apple</li>
<li>mango</li>
<li>grapes</li>
</ol>
</li>

<li>Vegetables
<ol class="lvl2">
<li>tomato</li>
<li>pumpkin</li>
<li>broccoli
<ol class="lvl3">
<li>prevents cancer</li>
<li>good for digestion</li>
<li>prevents cancer</li>
</ol>
</li>
</ol>
</li>

<li>Fast Food
<ol class="lvl2">
<li>burger</li>
<li>chips</li>
<li>rolls</li>
</ol>
</li>
</ol>
</body>
</html>

---------------------------------------------------------------------------------------

I have one code that is still bothering me but does show up in the EPUB check.

<h2 id="sigil_toc_id_75">External things that add to the stress.</h2>

Its every where in my file.

How do I solve this?


Regards.
iamabitbuddha is offline   Reply With Quote