hello,

to put an icon at the begining of every line in a table and be able to
change it easily, I defined the following:

tr.close {
  background: #dadada;
  background-image: url(./images/icon_close.gif);
  background-repeat: no-repeat;
}
tr.open {
  background: #f0f0f0;
  background-image: url(./images/icon_open.gif);
  background-repeat: no-repeat;
}
 
but the background image is inherited and so repeated for every cell of
the row. I tried to add:

tr.close td { background-image: none; }
tr.open  td { background-image: none; }

but doing so, I get no image at all :/

is it possible to have a tr background-image (a row background image,
one which may be larger that the 1st cell) ? is it possible to block
inheritance ?

TIA,
Pierre.
______________________________________________________________________
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/

Reply via email to