Re[2]: [css-d] Hovering on text links but not images

2005-08-02 Thread Steve Clay
Monday, August 1, 2005, 10:19:11 PM, Jon Trelfa wrote: > That's no completely correct...CSS, in a way, DOES look at the document > On 8/1/05, Steve Clay <[EMAIL PROTECTED]> wrote: >> (selectors can't look down the document tree)... I should have emphasized "down", they can look up of course (desc

Re: [css-d] Hovering on text links but not images

2005-08-01 Thread Jon Trelfa
On 8/1/05, Steve Clay <[EMAIL PROTECTED]> wrote: > > Monday, August 1, 2005, 4:49:35 PM, Lst Recv wrote: > > Is there a simple way (without having to give each link a class) of > > using CSS to change the background color on text links but not images? > > CSS can't do it (selectors can't look dow

Re: [css-d] Hovering on text links but not images

2005-08-01 Thread Steve Clay
Monday, August 1, 2005, 4:49:35 PM, Lst Recv wrote: > Is there a simple way (without having to give each link a class) of > using CSS to change the background color on text links but not images? CSS can't do it (selectors can't look down the document tree)... OFFTOPIC ...but JS can give those li

[css-d] Hovering on text links but not images

2005-08-01 Thread Lst Recv
Is there a simple way (without having to give each link a class) of using CSS to change the background color on text links but not images? Otherwise you get funny behavior when using transparent background images. I tried a img {background-color: #ff;} and a:hover img {background-color: #fff