Friday, 17 May 2013

Image border In IE | How to remove image border in IE

How to remove image border in IE


Normally there are some issues which may work fine in some browsers and not in other browsers.
For example ,
Image tags may work fine in Chrome, Mozilla and Saffari but not in IE 6 like browsers.
Mostly browser compatibility issues arise when we start cecking our website in IE and other browsers.

Here is one of the issue and how to rectify it.
Some times we may see unnecessary image borders in Internet Explorer. We no need to be panic to remove those border.

Just give the value of border = "0".

Consider the example !

You may give a logo image for your website. And your code will look like 
<img src="logo.png"></img>

Just change the code to

<img src="logo.png" border="0"></img>
Now everything will work fine.

Any doubts please post here in comments, I will help you over come it.
Subscribe to us for More Updates...

No comments:

Post a Comment