Netscape bug? or bad code?

I'm trying to control the amount of indentation of my <li>'s.  Here my methods:

 LI {
      list-style-type: disc;
      text-indent: -1.5em;
      }

with the HTML code:

<a name="Bike">Cycling Links</a><br>
<ul>
<li><a href="...">Tampa Cycling Information</a>
<li><a href="...">Tampa Bay Freewheelers club</a>
<li><a href="...">rec.bicycle.* FAQ</a>
(...)
</ul>

This results in the first list item in each list set being indented as
requested, but all subsequent items revert back to default indentation.
Oddly, some items in the lists seem to indent themselves at random.  This
is not a good thing.

I've also tried (with the same HTML code):

 LI {
      list-style-type: disc;
      margin-left: -1.5em;
      }

This results in consistent indentation, but only of the list bullet. The
corresponding text looks as if it is tabbed out away from the bullet.

And if I put both the margin-left and text-indent into the same definition
the results are too distastrous to mention.

http://www.gate.net/~billt/links.html - page
http://www.gate.net/~billt/stylesheet.css - sheet source

Any insight would be appreciated.

Bill Triplett
billt@gate.net
http://www.gate.net/~billt/

Received on Wednesday, 31 December 1997 07:13:21 UTC