Ingo Chao schrieb:
[EMAIL PROTECTED] schrieb:
... http://www.rjhanson.com/test.asp.

I'm not competent in specifity issues/dropdowns. The solution I
found works only for level 1->2
...
or for level 2->3
...
but not in combination. Maybe one of both blocks is a start, maybe not.

So the answer is: yes in principle, there might be a solution, but sorry, no, I don't have one.


By sheer force of will, I was able to transform a unused part of my brain into a specificity calculator for a second and found that one:

/* level 1 */
div#nav li:hover a,
div#nav li.sfhover  a {color: navy}

/* level 2 */
div#nav li li a {color: white !important}
div#nav li li a:hover {color: navy !important}

/* level 2 */
div#nav li li:hover a,
div#nav li li.sfhover  a {color: navy !important}

/* level 3 */
div#nav li li:hover li a {color: white !important}
div#nav li li:hover li a:hover {color: navy !important}

unfortunately, IE6 is not with us anymore, and the moment of enlightment is gone.

Ingo


______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to