CSS: How do you change the border color of a linked image in an HTML file using...

charmaine b

New member
...external CSS? My linked (<a href>) images have a border and are in an html file. How do I change the color of the border with an external CSS?
 
If you wish to change the border color use:

img{
border: #000 /*or any other hex code for color*/
}

to remove:

img{
border:none;
}
 
Back
Top