Thanks Lea, I was afraid of that! I'll see what I can do, but some
experiments using that idea have failed miserably.

You say it may not have been proposed to the W3C, do people think it
would be a useful addition to some future version of CSS? I certainly
do.

Chris
 

-----Original Message-----
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 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:

<a href="http://www.webstandards.org"; class="externalLinkText">Web
Standards group</a>

<a href="http://www.webstandards.org"; class="externalLinkImage"><img
src="wsg.png" alt="Web standards group" /></a>

.externalLinkImage
   {
        background: transparent;
        padding: 0;
   }

HIH!

Lea
--
Lea de Groot
Brisbane, Australia
******************************************************
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