Finding a tag by its text using css
2 answers
I believe that CSS3 selectors can only filter attributes and not text inside tags. So you can do something like a[href~="aspx"]
to map links to aspx pages, but as far as content compatibility is concerned.
For what you want to do, you probably have to use javascript or server side processing.
Have a look at quirksmode and W3 for more information.
+4
a source to share