lists

lists

am 27.04.2007 03:02:06 von Jon Slaughter

I am trying to use two lists and the only behavior that I want just html is
to nest two ul's but use a

tag in the list.

It does work but I'm not sure if
is suppose to work with a ul?

I probably can mess with css to indent the text that
is doing
automaticaly or use a ul with a dl nested inside but it seems much cleaner
using


the structure is basically





    • /
      /
      /
      /

      Thanks,
      Jon

Re: lists

am 27.04.2007 04:20:51 von John Hosking

Jon Slaughter wrote:
> I am trying to use two lists and the only behavior that I want just html is
> to nest two ul's but use a

tag in the list.

Of course you neither say why you want that nor provide a URL.

>
> It does work but I'm not sure if
is suppose to work with a ul?

Typical.

http://www.w3.org/TR/html401/struct/lists.html

>
> I probably can mess with css

Likewise typical.

> to indent the text that
is doing automaticaly or use
> a ul with a dl nested inside but it seems much cleaner using


"We discourage authors from using lists purely as a means of
indenting text. This is a stylistic issue and is properly handled by
style sheets."


which is what we have to presume you're trying to do, since you haven't
indicated otherwise. What's "cleaner" about it? Are you planning to use
or
, or are you just going to define things without saying what
you're defining?

--
John