Thanks Lady. I gave that a shot with this code:
HTML Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<style type="text/css">
ol.decimal {list-style-type: decimal}
</style>
</head>
<body>
<ol class="decimal">
<li>Top Level.
<ol class="decimal">
<li>Secondary Level</li>
<li>Another secondary level.
<ol class="decimal">
<li>Tertiary level</li>
</ol>
</li>
</ol>
</li>
</ol>
<ol>
<li>Top Level.
<ol class="decimal">
<li>Secondary Level</li>
<li>Another secondary level.
<ol class="decimal">
<li>Tertiary level</li>
</ol>
</li>
</ol>
</li>
</ol>
<ol>
<li>Top Level.
<ol>
<li>Secondary Level</li>
<li>Another secondary level.
<ol>
<li>Tertiary level</li>
</ol>
</li>
</ol>
</li>
</ol>
</body>
<html>
and I'm getting (for all 3 OLs)
Code:
1. Top Level.
1. Secondary Level
2. Another secondary level.
1. Tertiary level
Did I misunderstand?
Oh and in my first example I forgot the trailing periods -- they're fine. I'm more interested in retaining the parent number. So, the correct way should be
Code:
1. Top Level.
1.1. Secondary Level
1.2. Another secondary level.
1.2.1. Tertiary level
Thanks again and, as promised, TK's coming your way.
Last edited by JeremyMiller; 07-22-2008 at 03:38 PM..
|