[thelist] HTML lists: spacing between items

Aylard JA (James) jaylard at equilon.com
Tue May 9 19:14:36 2000


Erika,

> 	Be forewarned, however: this produces crazy results in Navigator
> 4.x. IE4+, Mozilla 15, and Opera 3.6 handle it properly, however.

	Further to my previous post, I'll suggest an alternative that will
behave reasonably well in Netscape 4.x:

<style type="text/css">
  li { padding-top: 1.5em }
</style>

	For some reason, Netscape 4.x does not render the padding-top value.
Why? I don't know. But the benefit of this is that your page will gracefully
degrade in Netscape 4.x (without any added space between <li> elements,
however) while still rendering with added spacing in IE4+, Mozilla 15, and
Opera 3.6+.

hth,
James Aylard
jaylard@equilon.com