html - Select all <a> tags except the <a> tags that contain an <img> tag in CSS -
I want to create all the text links on my website. I have a lower limit I use:
A {Border Down: 1px Dotted # 333; }
... but this image also adds a boundary to the link and I do not want it.
How do I work for this text link only?
one below the border: 1px dotted # 333; } An IMG {border: 0; }
Override legacy rules, the basic CSS method.
Edit: Wow, I'm not really paying attention. Can you throw a class to the ink which contains images?
a.contains-image {limit: 0; }
This will be the only non-scripting solution depending on CSS3's no
selector.
Comments
Post a Comment