ridermansb
ridermansb

Reputation: 11059

Compatibility between IE9 and Chrome (border image with link)

I am developing this site.

Note that the images of the header and footer (facebook and twitter) are with an edge.

This edge appears only in IE9.

Both images are involved in the tag a.

Here is the complete code.

How can I remove this border? (which appears only in IE)

Upvotes: 2

Views: 2621

Answers (2)

Tim S.
Tim S.

Reputation: 85

Another option is to apply this change in css.

img
{
  border:0;
}

Upvotes: 1

Sylvain
Sylvain

Reputation: 21

there is a border parameter in the img tag, when you insert a plain image ie ommits it, it does include it when you put a link on the image tho.

to prevent the border to appear, simply include the border param in your img tag.

<img src="some_img.jpg" border="0" alt="alt msg">

Upvotes: 2

Related Questions