W3C home > Mailing lists > Public > www-html@w3.org > May 2003

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

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