W3C home > Mailing lists > Public > www-html@w3.org > July 2004

Re: Navigation List Issues

From: Trejkaz Xaoza <trejkaz@xaoza.net>
Date: Sat, 31 Jul 2004 15:24:10 +1000
To: www-html@w3.org
Message-Id: <200407311524.10531.trejkaz@xaoza.net>

On Sat, 31 Jul 2004 14:10, you wrote:
> > 1. How do you address only the links of a navigation list directly? They
> > do not have a dedicated containing element to do so.
>
>   What?  Yes they do, <nl> is their containing element.

But <nl> also contains <label>.  There is no container for just the items, as 
the original poster pointed out.

> > If I wanted to
> > apply a style to the list items, would I have to address each one
> > individually? What if I wanted a simple outset border around just the
> > list items of a navigation list?
>
>   nl li[href] { border: 2px outset black; }

The original poster wanted a border around the list items, not one border 
around _each_ list item.

TX

-- 
'Every sufficiently advanced technology is indistinguishable from magic' - 
Arthur C Clarke
'Every sufficiently advanced magic is indistinguishable from technology' - Tom 
Graves

             Email: Trejkaz Xaoza <trejkaz@xaoza.net>
          Web site: http://xaoza.net/trejkaz/
         Jabber ID: trejkaz@jabber.xaoza.net
   GPG Fingerprint: 9EEB 97D7 8F7B 7977 F39F  A62C B8C7 BC8B 037E EA73
Received on Saturday, 31 July 2004 01:25:14 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:16:00 GMT