This may not solve your problem, but it would be my first guess:
Give all of them an <a> 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...
On 1/26/06, Mike Tuller <[EMAIL PROTECTED]> wrote:
>
> 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 <a> 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:
> >
> >> /* 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 <a href>
> >> tag.
> >
> > Mike,
> >
> > Try adding .mystory_menu a { display: block; }. You might also
> > need to fiddle with the dimensions to get it to fill the entire
> > <div>, but that should get the background to show up.
> >
> > Good luck!
> >
> > --
> > Matthew Levine (http://www.infocraft.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/
>
______________________________________________________________________
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/