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

14120 reviews 1680 hosting providers

Questions & Answers

remove image border in CSS

Jan 3, 2013 by Dan_31
Hello there

I have an image with a border surrounding it. I want to change the CSS code so that I can remove the border. How can I remove my image’s border?

Thank you

1 Answer

0 votes
Jan 3, 2013 by lionhost
First make sure you specify the location of your image like this
<img src="<image location >" />

you can remove the  borders by using this code:

<img src="<image location >" border="0" />
or

<img src="<image location >" style="border: none;" />