css - 如何修复 "png opacity"同时还支持定位?

标签 css png background-color

alt text http://maishudi.com/icons_ns6.png

如何更正它,使其始终像在 Firefox 中一样?

编辑:

我尝试了一些修复,但对我不起作用,

我在我的应用程序中使用如下内容:

background:transparent url(../static/icons_ns6.png) no-repeat scroll 0 -80px;

比如说,我需要定位背景图片。

最佳答案

IE 以其 PNG 透明度问题而闻名。这里有很多与此相关的主题:例如检查 this one .

关于css - 如何修复 "png opacity"同时还支持定位?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1384983/

相关文章:

html - 响应式 html 布局高度 100% 不是根据父 div

html - CSS 边框 : difference in Firefox/Chrome

png - 为 PNG 文件设置 DPI

C++ - 不正确的 ASCII 值 ("ë")

html - 如何在不支持的浏览器中显示 .avif 图像?

php - 将框 div 背景设置为全白?

CSS 包裹不同尺寸的 div

css - 计算器的类似表格的显示

javascript - 尝试使用 slider 更改 div 背景颜色

jquery - 如何将 handsontable 中下拉菜单的默认突出显示颜色更改为另一种颜色