gkluk
asked on
CSS selector for a "pattern-matching" like expression
Is there a way in CSS that you can specify that states that if you have an anchor tag followed by text or not an image tag, then the link text should be made bold and have a background colour but if there is anything "inside" the anchor then nothing should happen? So if we have <a href="www.google.com">Google</a> Google should be bold and in a dark blue background colour, but if we have <a href="www.google.com"><img src="google.png"></a>, nothing should happen?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER