【问题标题】:My website shows different content in Chrome and IE我的网站在 Chrome 和 IE 中显示不同的内容
【发布时间】:2013-01-30 18:58:21
【问题描述】:

我创建了一个网站,首页上有一个图片滑块。 你可以在这里看到它,http://www.ikuben.no/

在 Chrome 中,它可以正常工作

在 IE 中,我得到了这个

这是我使用的 CSS,

.flex-caption {
    width:50%; 
    padding:0; 
    overflow:hidden; 
    margin: 0; 
    position: absolute; 
    left:49%; 
    top:20%; 
    background:none; 
    color: #fff; 
    font-size: 15px; 
    line-height:20px; 
    font-family:Arial, Tahoma, Helvetica, Verdana, sans-serif; 
    font-weight:normal;
}
.flex-caption span {
    font-size:30px; 
    line-height:30px; 
    font-weight:bold; 
    font-family:'helvetica_neuebold', Arial, Tahoma, sans-serif;
}

我确实在 6 种不同的浏览器(Chrome、Opera、Firefox、Safari for Windows、SeaMonkey 和 IE)中测试了该网站。我只在 IE 中得到这个结果。

有什么想法吗?? 瑞马丁斯

【问题讨论】:

  • 欢迎来到浏览器兼容性的地狱。
  • 嗨。铬 24.01312.56,IE 9.0.8112.16421

标签: css internet-explorer google-chrome


【解决方案1】:

刚刚注意到你添加了:

filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#4C000000,endColorstr=#4C000000)

在 .flex-caption css 上。介意您删除它以查看是否有问题吗?类型

【讨论】:

  • 是的。 CSS 不是我的,所以我什至没有注意到。谢了。
猜你喜欢
  • 1970-01-01
  • 2013-05-09
  • 1970-01-01
  • 1970-01-01
  • 2011-08-14
  • 1970-01-01
  • 2021-10-21
  • 2011-12-26
  • 2023-02-11
相关资源
最近更新 更多