• missing xbfish.com image

Changing Image Link Color in IE

missing xbfish.com image
Posted on

Internet Explorer…. The most fuck up web browser in the world. Seriously, their rendering of HTML and Javascript sucks well enough. Now add in CSS, EPIC FAILURE!

In IE environment, you tried changing the the image link with:

1
2
3
A:link{
color:#FFFFFF;
}

However, Internet Explorer give you a default blue border color on the image link! This is seriously fuck up for web developers doing cross-platform scripting.

Nevertheless, there is a solution to it. See below:

1
2
3
a img{
border-color:#FFFFFF;
}

Internet Explorer will then render the image link and set the border color to white. Of course, Firefox, Opera and Chrome will still be able to work normally.

So that’s about it.

Original source: http://www.webdeveloper.com/forum/showthread.php?t=149227

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">

Spam protection by WP Captcha-Free