I am trying to make a menu where the page you are on (no
tag) shows one image, and the page you are not on (an tag)
shows another image that will switch on hover. I have the latter
working so that when you roll over the image switches, but if I set
the image for when there is no tag, it
On Jan 26, 2006, at 3:06 PM, Mike Tuller wrote:
> /* My Story Menu*/
> .mystory_menu
> {
> background: url("../images/mystory-current.png");
> }
>
> .mystory_menu a
> {
> background: url("../images/mystory.png");
> }
>
> It always shows the -current images, even if there is an tag.
That doesn't seem to make any difference. Am I wrong in thinking
that .mystory_menu a should override what is in .mystory_menu when
there is an tag? Should I be using ID instead of class?
On Jan 26, 2006, at 3:15 PM, Matthew Levine wrote:
> On Jan 26, 2006, at 3:06 PM, Mike Tuller wrote:
>
This may not solve your problem, but it would be my first guess:
Give all of them an tag, anly put href on the links that need it, and
use 2 seperate classes; one that sets the background for the current link
and one that sets the background for the rest...
Maybe someone can improve on this...
O