if I use either: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" http://www.w3.org/TR/html4/frameset.dtd"> or <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" http://www.w3.org/TR/html4/loose.dtd">
I get the expedted result (a backgrund image attached to the row, to to the cells) in Moz/FF, but as expected not in IE :( to be continued... Pierre. > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Bru, Pierre > Sent: Wednesday, January 25, 2006 5:21 PM > To: css-d@lists.css-discuss.org > Subject: Re: [css-d] [how to] tr background-image or block > inheritance ? > > > this might work for you (but won't in ie. not sure how > important that > > one is to you) > > unfortunatly, I need IE too :( > BTW, I do not think this solution would allow the image in > the 1st cell > to span over the other cells. that's why I was looking for a > bagground-image attached to the tr node. > > > 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; > > } > > (this is your same exact code as above) > > > > tr.close td + td, tr.open td + td { > > background: transparent none; > > } > > (this will make all <td> that follow a <td> have no bg, which means > > only the first should show a background) > > > > hopefully someone else knows a way to get ie to work as well. > > good luck. > > > 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/ > ______________________________________________________________________ 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/