remove image border in CSS

69 views
asked Jan 3, 2013 in General by Dan_31 (910 points)
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 like 0 dislike
answered Jan 3, 2013 by lionhost (4,060 points)
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;" />
...