What I want:
Dictionary-like entry, such as
foobar
1. foo 2. bar a. green b. blue
What I tried: See end of post.
Evidently list-style-type is suppressed so it effectively becomes none
when the list is displayed inline. Is this the proper behavior?
Am I doing something wrong?
I'm willing to put the sense numbers in the text, but I am wondering
whether browsers should be supporting inline list-style-types and one
day will so one day the definitions will have double sense numbers.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta name="generator " content="HTML Tidy, see www.w3.org">
<title>Dictiona ry Demo</title>
<style type="text/css">
..sense { display: inline; }
..sens { list-style-type: decimal; display: inline; }
..subsense { display: inline; }
..subsens { list-style-type: lower-alpha; display: inline; }
</style>
</head>
<body>
<h1>Dictionar y Demo</h1>
<dl>
<dt>foobar</dt>
<dd>
<ol class="sens">
<li class="sense">f oo</li>
<li class="sense">b ar
<ol class="subsens" >
<li class="subsense ">green</li>
<li class="subsense ">blue</li>
</ol>
</li>
</ol>
</dd>
</dl>
</body>
</html>
--
Lars Eighner us****@larseigh ner.com http://www.larseighner.com/
Behaviorism is the art of pulling habits out of rats. -- O'Neill