a { color:#ADCBE7; text-decoration:none; } a:hover { color: #000000; text-decoration:none; border-bottom: dotted 1px; background-color:#ecf1f4; } a:hover img { bottom-border: none; /*I also tried with just the img tag, and also just with border*/ }