Heh, I had to look twice at that before I realised what you'd done!
Obviously we both need a coffee :0)

For those that are interested I managed to psuedo-fix it, by only
applying a class to the link if a class isn't already set (remember I'm
doing this in JavaScript). The code is available if anyone is
interested, mail me off-list.

Thanks

Chris



-----Original Message-----
From: [email protected]
[mailto:[EMAIL PROTECTED] On Behalf Of Thierry Koblentz
Sent: 04 April 2006 17:43
To: [email protected]
Subject: Re: [WSG] Styling parent link where child is not an image

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

Doh! Of course I was missing something :)

Regards,
Thierry | www.TJKDesign.com
******************************************************
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
******************************************************

******************************************************
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
******************************************************

Reply via email to