GVKun编程网logo

从Internet Explorer 8打印时,我需要为不透明度设置哪种css样式?

24

此处将为大家介绍关于从InternetExplorer8打印时,我需要为不透明度设置哪种css样式?的详细内容,此外,我们还将为您介绍关于css:lihoverdoesn''tworkinintern

此处将为大家介绍关于从Internet Explorer 8打印时,我需要为不透明度设置哪种css样式?的详细内容,此外,我们还将为您介绍关于css : li hover doesn''t work in internet explorer 6、css url()在Internet Explorer 10中无法识别、css – Bootstrap Dropdown在Internet Explorer中未正确设置样式、css – Internet Explorer 11不断分割单词的有用信息。

本文目录一览:

从Internet Explorer 8打印时,我需要为不透明度设置哪种css样式?

从Internet Explorer 8打印时,我需要为不透明度设置哪种css样式?

我制作了一个由两个重叠图像组成的网页.我已将不透明度滤镜应用于顶部图像,以便两个图像都可读.大多数浏览器(包括IE和Firefox)的屏幕不透明度都是正确的.但是,当我从IE 7或8版本打印到真实打印机或PDF打印机时,只打印顶部图像.从IE 9和Firefox打印时,顶部图像是正确半透明的.

以下是我的网页代码.

从Internet Explorer 8打印时,我需要为不透明度设置哪种css样式?

最佳答案
试试这个会在所有主流浏览器中产生模糊效果,包括

.CLASS_NAME {
  /* IE 8 */
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";

  /* IE 5-7 */
  filter: alpha(opacity=50);

  /* netscape */
  -moz-opacity: 0.5;

  /* Safari 1.x */
  -khtml-opacity: 0.5;

  /* other intelligent browsers */
  opacity: 0.5;
}

css : li hover doesn''t work in internet explorer 6

css : li hover doesn''t work in internet explorer 6

Q:  If you try to hover the ''test 2'' link, the dropdown menu will appear. the problem in IE 6, any idea how to make this dropdown menu work in IE 6?

A1: In IE 6, :hover only works on a tags for CSS. If you want hover effects for IE 6, they''ll have to be done in Javascript.

A2: you could use some JS to work around.

$(function(){
    $(''.link ul li'').hover(
        function(){
          $(this).addClass(''hover'');  
        },function(){
            $(this).removeClass(''hover'');
    });
});

http://jsfiddle.net/hMr7h/1/

引自:http://stackoverflow.com/questions/6309723/css-li-hover-doesnt-work-in-internet-explorer-6

css url()在Internet Explorer 10中无法识别

css url()在Internet Explorer 10中无法识别

我的CSS中有这一行:
.ui-icon-zoom-in { content: url(images/16x16/ZoomIn.png); }

我和jQuery UI Button widget一起使用的是这样的:

$("#zoomin").button({ text: false,icons: { primary: "ui-icom-zoom-in" } });

在Chrome中,我可以在按钮中看到图像居中.但是,在IE10中,我没有看到图像.

我在这里错过了什么吗?

解决方法

content属性仅在伪元素之前和之后有效.您应该将其更改为:
.ui-icon-zoom-in { 
  background: url(images/16x16/ZoomIn.png) no-repeat; 
  width:16px;
  height:16px;
}

除此之外,如果指定了有效的DOCTYPE,IE8仅支持内容属性.

css – Bootstrap Dropdown在Internet Explorer中未正确设置样式

我在我的角度项目中使用了twitter bootstrap类.对于下拉菜单,样式在Chrome中运行良好但是当我将其加载到IE 11时,它的样式不正确.特别是下拉箭头按钮.

有没有其他人与IE有这个问题?我该如何解决这个问题?请查看我的问题下面的比较照片.

我的html部分也在下面,任何评论都欢迎提前感谢!

<selectng-options="obj for obj in data.finding"
                      ng-model="gapSection.finding"  >
                      <option value="">Please select</option>
</select>

解决方法

我刚用IE解决了:
select::-ms-expand {
    border:none;
    background:#fff;
}

Source

css – Internet Explorer 11不断分割单词

css – Internet Explorer 11不断分割单词

Internet Explorer继续分裂我的话. Chrome和Firefox工作正常.

这是我的代码和网站链接:http://www.hgsainc.com/about/
谢谢你的帮助!

.page #main .entry-content {
    width: 100%;
    padding-right: 0;
    word-wrap: normal;
    -webkit-hyphens: none;
    -moz-hyphens: none;
    hyphens: none;
    table-layout: fixed;  
}

.page #main .entry-content p,.page #main .entry-content span {
    font-size: 16px;
    line-height: 30px;
    text-align: right;
}

解决方法

我没有看过你的网站,但看起来你需要在你的css中添加-ms-hyphens前缀.你有-webkit和-moz但没有-ms:

-ms-hyphens: none;

有关详细信息,请参阅此处:http://msdn.microsoft.com/en-us/library/ie/hh771871(v=vs.85).aspx

此外,在进一步研究之后,看起来Opera似乎不支持这一点,大多数移动浏览器也不支持:http://caniuse.com/css-hyphens – 如果你遇到这种情况,只需要抬头.

关于从Internet Explorer 8打印时,我需要为不透明度设置哪种css样式?的问题我们已经讲解完毕,感谢您的阅读,如果还想了解更多关于css : li hover doesn''t work in internet explorer 6、css url()在Internet Explorer 10中无法识别、css – Bootstrap Dropdown在Internet Explorer中未正确设置样式、css – Internet Explorer 11不断分割单词等相关内容,可以在本站寻找。

本文标签: