please take a look at the list I’ve made.
I would like it to have a “double indent” for the golden chrysalis line. I can get that by not having a non-breaking space, , after the second level list item which incorrect. When I put in the I get an extra line. How do I not have the extra line space and still have validation happen?
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>list indent problem</title>
</head>
<body>
<p>list</p>
<ol>
<li>aardvark</li>
<li>blue sailfish</li>
<li>chartreuse caterpillar</li>
<ul>
<li style="list-style-type: none;">
<ol>
<li style="list-style-type: none;">golden chrysalis </li>
</ol>
</li>
<li>cecropia moth</li>
<li>monarch butterfly</li>
<li>luna moth</li>
</ul>
<li>dynamic duo doggies</li>
<li>elegant elephant</li>
<li>gregarious giraffe</li>
</ol>
</body>
</html>
this has the extra space, what I don’t want
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>list indent problem</title>
</head>
<body>
<p>list</p>
<ol>
<li>aardvark</li>
<li>blue sailfish</li>
<li>chartreuse caterpillar</li>
<ul>
<li style="list-style-type: none;">
<ol>
<li style="list-style-type: none;">golden chrysalis </li>
</ol>
</li>
<li>cecropia moth</li>
<li>monarch butterfly</li>
<li>luna moth</li>
</ul>
<li>dynamic duo doggies</li>
<li>elegant elephant</li>
<li>gregarious giraffe</li>
</ol>
</body>
</html>