Welcome to WebHeadStart.org

Web Technologies

Sponsored By

WebHeadStart.org is currently in beta.
Please pardon our appearance as we work to provide you with the most comprehensive reference on today's web technologies.

Interested in advertising on WebHeadStart? Become an advertising partner today!

[WWW-HTML Mailing List Archive Home] [Messages By Thread] [Messages By Date]

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
Valid XHTML 1.0! Valid CSS! Site Map | Privacy Policy | Terms of Use | WebHeadStart.org © 2005 All Rights Reserved.