The following code validates as good but in the MobiPocket Creator created mobi file made from it, all the second and third legel list markers are changed to decimal numbers. How can I get a nested list like this to display correctly in a mobi file?
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" />
<title>A Nested List Example</title>
</head>
<body>
<h2>Under this Heading is a Three Level Nested List</h2>
<ol style="list-style-type:decimal">
<li>First top-level item of the nested list:
<ol style="list-style-type:lower-alpha">
<li>First second-level item:
<ol style="list-style-type:lower-roman">
<li>First third level item.</li>
<li>Second third level item.</li>
<li>Third third level item.</li>
<li>Fourth third level item.</li>
</ol>
</li>
<li>Second second-level item:
<ol style="list-style-type:lower-roman">
<li>First third level item.</li>
<li>Second third level item.</li>
<li>Third third level item.</li>
<li>Fourth third level item.</li>
</ol>
</li>
</ol>
</li>
<li>Second top-level item of the nested list:
<ol style="list-style-type:lower-alpha">
<li>First second-level item:
<ol style="list-style-type:lower-roman">
<li>First third level item.</li>
<li>Second third level item.</li>
<li>Third third level item.</li>
<li>Fourth third level item.</li>
</ol>
</li>
<li>Second second-level item:
<ol style="list-style-type:lower-roman">
<li>First third level item.</li>
<li>Second third level item.</li>
<li>Third third level item.</li>
<li>Fourth third level item.</li>
</ol>
</li>
</ol>
</li>
</ol>
</body>
</html>
|