...

View Full Version : Resolved IE images getting unwanted border colors



Vytfla
08-01-2012, 09:09 PM
Like the topic says, I have small social icon .png's (tried jpg's) that display an unwanted blue border around the dimensions of the icons. This problem is only found in IE. Any ideas of how to get right of them? Will post code if needed.

MrTIMarshall
08-01-2012, 09:16 PM
Like the topic says, I have small social icon .png's (tried jpg's) that display an unwanted blue border around the dimensions of the icons. This problem is only found in IE. Any ideas of how to get right of them? Will post code if needed.

Try adding the the image styles:


_border: none;

Vytfla
08-01-2012, 09:20 PM
Try adding the the image styles:


_border: none;

Ah I'm an idiot, that worked, thanks. Do I have to do the underscore before? I did it without (in my regular CSS file, not an IE specific one) and it worked.

MrTIMarshall
08-01-2012, 10:12 PM
The underscore is for Internet Explorer, as you said it's not happening in Chrome or Fire Fox.

tempz
08-01-2012, 10:27 PM
Add this to your stylesheet


img {border:none;}

Vytfla
08-01-2012, 11:18 PM
The underscore is for Internet Explorer, as you said it's not happening in Chrome or Fire Fox.

Right, that's what I gathered, but I did it without it and it still worked...

And tempz, that's what I did and it worked, so thanks.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum