HTML - Remove border around image

February 2017




Issue


Hello everyone, I'll explain the problem, I created a website in short, I made a link in an image, it works very well but my problem is that there is a border displayed around it.

I would like to know it is possible to remove it.

Solution


In CSS, put this code
a img  
{  
border: none;  
}  

All site images constituting part of the links are removed, without need to specify a class in the tags!

Note


Solved by jmangelini

Related


Published by aakai1056. Latest update on July 14, 2011 at 08:08 AM by aakai1056.
This document, titled "HTML - Remove border around image," is available under the Creative Commons license. Any copy, reuse, or modification of the content should be sufficiently credited to CCM (ccm.net).