Removing the linked images border

asked Sep 20, 2013 in General by sally23
Hi there
I am fairly new to CSS and I am having a hard time trying to remove a border that exists around a linked image or an underlined linked text on my webpage.  I tried using this code : img { border: none; }
in the my CSS but that didn’t do anything. Can anyone please help me do this?
Your advice is highly appreciated

Regards

1 Answer

0 like 0 dislike
answered Sep 20, 2013 by SmartHost
For individual image try adding this code
<img src="image.gif" width="50" height="50" border="0">
For all images try adding  this code in your tyle.css
img
{  border-style: none;
}
or
a img {border: none;}
...