【问题标题】:hint.css IE8 transparent background bughint.css IE8透明背景bug
【发布时间】:2025-12-29 21:20:09
【问题描述】:

提示错误的IE8透明背景(工具提示显示在内容下) 仅修改:空白:预包装; (因为多行)

https://cloud.githubusercontent.com/assets/9686181/5003427/d5514c36-6a15-11e4-959d-7cff3c753c39.png

Bug 也在开发者示例http://kushagragour.in/lab/hint/(使用 IE8)中

【问题讨论】:

    标签: internet-explorer-8 transparent


    【解决方案1】:

    在ie8中不能有透明的背景色。

    您可以做的是设置背景图像并使其透明。

    transparent background issue IE8, IE7

    【讨论】:

      【解决方案2】:

      试试 Internet Explorer - Alpha 过滤器!!

      语法如下:

      filter: progid:DXImageTransform.Microsoft.Alpha(parameters); 
      

      对于 IE-8

       filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=<Opacity Value>)";
      

      参考:Alpha Filter

      【讨论】: