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]

navigation list

From: Mikko Pohja <mikko.pohja@hut.fi>
Date: Fri, 23 May 2003 16:07:26 +0300
Message-ID: <3ECE1D0E.2020007@hut.fi>
To: www-html@w3.org

Hello,

I've been wondering how to implement the navigation lists (nl) in xhtml 
2. I ended up to use the active pseudo-class to nl element to indicate 
when nl's label is selected. In the default stylesheet I define style 
for the list items:

nl > li { display:none; }
nl:active > li { display: list-item; }

What do you think about that? Also, how would you style the label 
element when it's selected/de-selected?

Mikko Pohja
Received on Friday, 23 May 2003 09:09:56 GMT
Valid XHTML 1.0! Valid CSS! Site Map | Privacy Policy | Terms of Use | WebHeadStart.org © 2005 All Rights Reserved.