In general, I made a few links-pictures on the social network for the site. All anything, but in the spaces between the pictures appeared strange, purple dash. I have no idea what it is connected with. I can only say that if they are placed in a vertical line, the dashes disappear. Help, please, who knows what it is connected with!

<p id="Social">Social</p> <a href="https://vk.com/id158092641"> <img class="social_img" src="img/Facebook_logo.png"> </a> <a href="https://vk.com/id158092641"> <img class="social_img" src="img/Twitter_logo.png"> </a> <a href="https://vk.com/id158092641"> <img class="social_img" src="img/Google_logo.png"> </a> <a href="https://vk.com/id158092641"> <img class="social_img" src="img/YouTube_logo.png"> </a> 
  • Border, underline, color. Check all parents - Yuri
  • Best of all, if you manage to isolate your code in the minimum reproducible example - vp_arth

1 answer 1

Your problem is in the links themselves. By standard, the links have an underscore. To remove it, add text_decoration: none; to the link text_decoration: none;

 <p>С подчёриванием</p> <a href="">Ссылка</a> <p>Без подчёривания</p> <a href="" style="text-decoration: none">Ссылка</a> 

  • It worked, thanks! You helped me a lot! - Ілля the Mantis