Re: [css3-selectors] :parent selector

Anne van Kesteren wrote:
> Wouldn't work for things like "see the <a><code>a</code> element</a>".

Fair enough, have there been any agreeable proposals for covering "any 
link which does not contain an image", or "any link that only contains 
text"?

As you can see, the external link highlighting works well on text, but 
not  images:
http://ukwindsurfing.com/news/2005/0511_wojtek-brzozowski-dominates-1st-euro-cup/

That site uses:
a[href$=".pdf"] {...}

But without being able to identify a link that doesn't contain an image, 
referring back up the tree, or selecting the text-node within a link, it 
doesn't seem possible.

Is this not possible without using JavaScript?

Kind regards,

-Alastair

Received on Wednesday, 27 September 2006 21:35:06 UTC