How to select anonymous elements

Hi stylists,
	Is there a way to specify anonymous elements? * doesn't match. My user 
style sheets has this:

   A:Link * {
     Background: Blue;
     Color: Yellow;
     Border-Color: Yellow;
     Text-Decoration: None;
   }
   A Img, A:Link Img {
     Background: Transparent!Important;
   }

i.e. I'm trying to get hypertext links to have a solid background but 
not if they have pictures (it spoils all those lovely anti-alias buttons 
that web designers love).

I did think of using:

A:Link { Background: Blue; Color Yellow; }
A:Contains(Img) { Background: Transparent; }

but since I haven't found a browser that does :contains() I can't try it.

Also
A:Link { Background: Blue; Color: Yellow; }
A:Link Img { Background: Transparent; }
doesn't give the desired effect since the Img is a child of the <A> and 
it's blue background shines through the transparent parts of the Img.

Cheers,
Tim.

Received on Thursday, 8 November 2001 13:33:54 UTC