Re: [css3-selectors] :parent selector

Ivan Sagalaev wrote:
> 
>     :link:parent img {
>       border: none;
>     }
> 
> ...would match only in cases like `<a><img/></a>` (may be with 
> whitespace).

As I was corrected off-list I really meant this:

     img:parent:link {
       border: none;
     }

"something that is a parent of <img> and is a link"

Received on Monday, 25 September 2006 12:33:15 UTC