p a:link {
text-decoration: none;
color: #507299;
border-bottom: 1px dotted #507299;
}
p a:hover {
color:#305075;
border-bottom: 1px dotted #305075;
}
a img {
text-decoration: none;
border: none;
}
border: none
ему:.a-image {
border: none;
}
<a class="a-image"><img src="...