tr.selected { background: url(/images/ArrowSelected.gif) no-repeat; background-color: #ffa; }
tr.selected td { background-image: none; } On 19.9.2009 г. 05:52 ч., Russell Keith wrote: > > I have the following CSS class I am adding with Element.addClassName > > tr.selected{ > > background: url(/images/ArrowSelection.gif) no-repeat; > > background-color: #FFFFAA; > > } > > My issue is that it is also adding the background image to each <td> > in the <tr>. Any idea how to stop this? > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group, send email to prototype-scriptaculous@googlegroups.com To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~----------~----~----~----~------~----~------~--~---