RE: [WSG] Styling parent link where child is not an image

2006-04-05 Thread Chris Taylor
is available if anyone is interested, mail me off-list. Thanks Chris -Original Message- From: listdad@webstandardsgroup.org [mailto:[EMAIL PROTECTED] On Behalf Of Thierry Koblentz Sent: 04 April 2006 17:43 To: wsg@webstandardsgroup.org Subject: Re: [WSG] Styling parent link where child

Re: [WSG] Styling parent link where child is not an image

2006-04-04 Thread Thierry Koblentz
Thierry Koblentz wrote: >> /* Style .externalLink where its child is not an img element */ >> .externalLink < img >> { >> background: transparent; >> padding: 0; >> } >> >> Any ideas? > > What about: > a.externalLink img { > background: none; > padding: 0; > } > > Or am I missing somethi

Re: [WSG] Styling parent link where child is not an image

2006-04-04 Thread Thierry Koblentz
Chris Taylor wrote: > Hi, > > I've got a bit of a problem. And my CSS isn't working either ;0) > > Basically I want to style links with little icons (an envelope for > email links, earth icon for web links, download icon for downloadable > documents etc) but am getting into trouble where the chil

RE: [WSG] Styling parent link where child is not an image

2006-04-04 Thread Chris Taylor
ssage- From: listdad@webstandardsgroup.org [mailto:[EMAIL PROTECTED] On Behalf Of Lea de Groot Sent: 04 April 2006 11:36 To: wsg@webstandardsgroup.org Subject: Re: [WSG] Styling parent link where child is not an image Chris Taylor wrote: > .externalLink < img The concept has been mooted

Re: [WSG] Styling parent link where child is not an image

2006-04-04 Thread Lea de Groot
Chris Taylor wrote: .externalLink < img The concept has been mooted before, but I'm not aware its been formally proposed at W3C, even in CSS3 :( Your only option (that I can think of) is something like: http://www.webstandards.org"; class="externalLinkText">Web Standards group http://ww

[WSG] Styling parent link where child is not an image

2006-04-04 Thread Chris Taylor
Hi, I've got a bit of a problem. And my CSS isn't working either ;0) Basically I want to style links with little icons (an envelope for email links, earth icon for web links, download icon for downloadable documents etc) but am getting into trouble where the child of the link is just an image, no