Re: [css-d] Problem with text color

2005-06-07 Thread Ingo Chao

Ingo Chao schrieb:

... IE6 is not with us anymore,


(Note that there should be an easier solution.)

/* 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; }

/*level 3, IE6 */
div#nav li li.sfhover li a {color: white !important; }

This should make IE6 play ball again. Now I need a minimal invasive 
brain salad surgery or a cup of tea.


Ingo

btw. a friend noted that your menu becomes virtually unuseable on text 
zooming, and he's right.


__
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/


Re: [css-d] Problem with text color

2005-06-07 Thread Ingo Chao

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/


Re: [css-d] Problem with text color

2005-06-07 Thread Ingo Chao

[EMAIL PROTECTED] schrieb:

... http://www.rjhanson.com/test.asp. Everything works except as you
go down the menu tree the text color reverts to the original white.
We want the text color to be dark blue against the light blue as we
go deeper into the menu.

Example: If you go top level 'Casual' then 'Denim' then 'Shirts', we
want 'Casual' and 'Denim' to be dark blue on light blue. Currently it
becomes white on light blue.



I'm not competent in specifity issues/dropdowns. The solution I
found works only for level 1->2

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

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


or for level 2->3

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

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


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.



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/


[css-d] Problem with text color

2005-06-06 Thread rihanson
We have worked through almost all our issues with the css menus except 
one. See

http://www.rjhanson.com/test.asp. Everything works except as you go down the
menu tree the text color reverts to the original white. We want the text color
to be dark blue against the light blue as we go deeper into the menu.

Example: If you go top level 'Casual' then 'Denim' then 'Shirts', we want
'Casual' and 'Denim' to be dark blue on light blue. Currently it becomes white
on light blue.

The code is fully viewable with 'view source'. Any answers would be 
appreciated.


Thanks

Rich Hanson
www.catherines.com
__
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/