CSS tags for hierarchical taxonomy

Joined: 09/05/2008
User offline. Last seen 2 years 26 weeks ago.

So Drupal 6.x and Views 2. Outputting a simple list of the terms in a taxonomy, within which I have created a hierarchy in the standard Drupal 6.x fashion. Yet it would seem that I am unable to style this hierarchy using css because it doesn't apply different css tags to different levels of the hierarchy. What?

This seems so basic I figure I must be missing something—though my experience with Drupal is becoming that you find these odd holes in places. Sure, I'll try and write a patch so Drupal 7.x or Views 2.5 is better if I can—but right now, for the site I am doing immediately, surely someone has already written something in contrib to do this most obvious basic thing? Any leads?

Joined: 11/28/2008
User offline. Last seen 28 weeks 5 days ago.
I think the standard way of

I think the standard way of formatting list items in a hierarchy is as follows (there are probably other ways):

#hierarchy ul {
}

#hierarchy ul li {
}

#hierarchy ul li ul {
}

#hierarchy ul li ul li {
}

etc.