Previous Message
Next Message

Re: [css-d] Turn of bgcolor for links wich contain an image

Sent by Sasa Velickovic on 29 January 2003 00:12


Hello Lonnie,

>> a:hover:ifcontains(img) {backgroundcolor: transparent}

> If I understand you correctly, you are very close:
> a:hover img {backround:transparent;}

This turns off the bgcolor of the _img_ element. I need to turn of the
bgcolor for the _a_ element _if_ it contains an img element :) I think this
is not possible in CSS2 (am I wrong?)

Greetings
-- 
Sasa Velickovic                    Hexatex Holistic-Webdesign
Hugo-Junkers-Str. 26               50739 Köln
Web: http://www.hexatex.de         [EMAIL-REMOVED]
Tel: +49 221 / 5994393             Fax: +49 221 / 5994394
Previous Message
Next Message

Message thread:

Possibly related: