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
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
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
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