remove link underline from image only if the anchor tag contains an img
问题 <a href="#"> <img width="103" height="100" src="img source"> </a> for the above html code I am using the following css a { border-bottom-style: dotted; border-bottom-width: 1px; } a img { border: 0 none; } Basically what I am trying to achieve here to underline the text links while keeping img links without any underline. however I guess by styling the text links I am also styling image links, I want any image in a link should not be underlined. Can any one suggest work around for this? 回答1: