[CSS] How to Remove Link Image Borders in Internet Explorer (IE)

Tadashi Shigeoka ·  Sun, September 16, 2012

I researched how to remove link image borders in Internet Explorer, so here’s a memo.

Remove Borders from All Images

Since there are almost no cases where you want to display borders on images, it should be fine to specify this directly on the img tag.

img {
    border-style:none;
}

Remove Borders Only from img Elements that are Descendants of a Elements Using Descendant Selectors

a img {
    border-style:none;
}

That’s all.

Reference Information

That’s all from the Gemba.