Ben Curtis wrote:

What you would ideally have is an older-sibling, younger-sibling type selector. Then you could select all the li elements that are siblings and come before your active element, and give them a vertical line background or border. Then give your active element the arrow. And leave the younger-siblings (the siblings after your active element) alone.

However, that would only work if the line always comes from the top of the list and then down to the active category. In the example, though, the line can come from below (see the line from the first to the second list). You could probably work around this, but only with some initial server-side processing (that counts down the number of list items with regards to the parent list and assigns different classes - with or without line on the left - to each list item)


--
Patrick H. Lauke
_____________________________________________________
re�dux (adj.): brought back; returned. used postpositively
[latin : re-, re- + dux, leader; see duke.]
www.splintered.co.uk | www.photographia.co.uk
http://redux.deviantart.com

******************************************************
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************



Reply via email to