Web Hosting Geeks | Web Hosting Experts
Need help? Call us 1(866)TOP-HOST

14611 reviews 1734 hosting providers

Questions & Answers

Removing the linked images border

Sep 20, 2013 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 votes
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;}