【问题标题】:border-radius IS working in select rules in I.E 8 why?边界半径在 IE 8 中的选择规则中工作,为什么?
【发布时间】:2011-11-17 03:50:48
【问题描述】:

this site 圆角在 IE 8 中工作 据我所知,在 I.E 9 之前不支持边界半径 尽管如此,还是有一个 div(只有一个)边界半径不起作用,即右下角的红色。

 div class=specialSidebar

没有特殊的过滤器:据我所见,此处应用的属性。 如果您使用具有 IE 8 的开发人员工具并取消选中边框半径,其他 div 的边框半径工作正常。

【问题讨论】:

    标签: internet-explorer css


    【解决方案1】:

    看看他们的 CSS,http://taylorstrategy.com/wp-content/themes/taylorStrategy/style.css

    /*Right Sidebar*/
    .rightSidebar {
        background: #FFF;
        padding: 14px 30px 10px 20px;
        -webkit-border-radius: 8px;
        -moz-border-radius: 8px;
        border-radius: 8px;     
    
    }
    

    我相信在 IE8 中,他们使用 javascript (jQuery) 将边框半径替换为圆角。查看this tutorial 了解更多信息。

    【讨论】:

    • 我不这么认为。我没有看到用于生成圆角的 javascript 文件,并且所有这些 div 都具有相同的样式。 .rightSidebar 是唯一没有圆形 div 的。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-03-02
    • 2021-10-05
    相关资源
    最近更新 更多