[css-d] rollover with images

2006-01-26 Thread Mike Tuller
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

Re: [css-d] rollover with images

2006-01-26 Thread Matthew Levine
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.

Re: [css-d] rollover with images

2006-01-26 Thread Mike Tuller
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: >

Re: [css-d] rollover with images

2006-01-26 Thread Zach Shepherd
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